diff --git a/.envrc b/.envrc index c2bc242..f50f029 100644 --- a/.envrc +++ b/.envrc @@ -22,7 +22,7 @@ if command -v guix; then git-cal --author="$(git config user.name)" run-tests () { - poetry run pytest + run_pipeline_tests } export_function run-tests cat << EOF diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0011f7a..8213701 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,7 @@ jobs: - name: Install dependencies run: scripts/install_github_actions_dev_dependencies.sh - name: Run tests in dev env - run: poetry run pytest -m "not timezone_sensitive" + run: run_pipeline_tests.sh run-tests-preprod: # The type of runner that the job will run on diff --git a/scripts/run_pipeline_tests.sh b/scripts/run_pipeline_tests.sh new file mode 100755 index 0000000..014807f --- /dev/null +++ b/scripts/run_pipeline_tests.sh @@ -0,0 +1 @@ +poetry run pytest -m "not timezone_sensitive" \ No newline at end of file