mirror of
https://github.com/Tech-Workers-Coalition-Italia/mobilizon-reshare.git
synced 2025-01-28 16:20:10 +01:00
moved run tests to script
This commit is contained in:
parent
994102c937
commit
7aa1587b2b
2
.envrc
2
.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
|
||||
|
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||
|
1
scripts/run_pipeline_tests.sh
Executable file
1
scripts/run_pipeline_tests.sh
Executable file
@ -0,0 +1 @@
|
||||
poetry run pytest -m "not timezone_sensitive"
|
Loading…
x
Reference in New Issue
Block a user