Skip to content

Commit

Permalink
Separate out the configs
Browse files Browse the repository at this point in the history
  • Loading branch information
WillGibson committed Nov 20, 2024
1 parent 34f2917 commit 87fa05d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-mutation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
- name: Run mutation tests
run: |
# Todo: Drop the --force, it just here for easy local copy and paste
poetry run cosmic-ray init setup.cfg cosmic-ray.sqlite --force
poetry run cosmic-ray init cosmic-ray.toml cosmic-ray.sqlite --force
echo "Initialised"
poetry run cosmic-ray --verbosity INFO exec setup.cfg cosmic-ray.sqlite
poetry run cosmic-ray --verbosity INFO exec cosmic-ray.toml cosmic-ray.sqlite
- name: Report results
# Todo: Only show failures https://github.com/sixty-north/cosmic-ray/issues/561
Expand Down
8 changes: 8 additions & 0 deletions cosmic-ray.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[cosmic-ray]
module-path = "utils"
timeout = 10.0
excluded-modules = ["**/node_modules/**/*"]
test-command = "poetry run pytest tests/utils"

[cosmic-ray.distributor]
name = "local"
21 changes: 2 additions & 19 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
[cosmic-ray]
module-path = utils
timeout = 10.0
excluded-modules = ["**/node_modules/**/*"]
test-command = poetry run pytest tests/utils

[cosmic-ray.distributor]
name = "local"
# name = "http"

# [cosmic-ray.distributor.http]
# worker-urls =
# http://localhost:9876
# http://localhost:9877
# http://localhost:9878
# http://localhost:9879

[mutmut]
paths_to_mutate = utils
runner= poetry run pytest tests/utils
runner = poetry run pytest tests/utils
tests_dir = tests/utils
also_copy=
also_copy =
dbt_platform_helper

0 comments on commit 87fa05d

Please sign in to comment.