Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
with:
python-version: ${{ env.python-version }}
- name: Run regression input files
run: hatch run python tracking/run_tracking_inputs.py run tests/regression/input_files
run: hatch run track:create-tracking-inputs
- name: Move other files
run: mv tests/regression/input_files/*.json tracking/
- name: Archive tracked MFILEs
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
run: |
MSG=$(printf "%q " $COMMIT_MESSAGE)
git config --global --add safe.directory '*'
hatch run python tracking/run_tracking_inputs.py track process-tracking-data "${MSG}" ${{ github.sha }}
hatch run track:run-tracker "${MSG}" ${{ github.sha }}
- name: Create the tracking dashboard
run: hatch run python tracking/tracking_data.py plot process-tracking-data --out tracking.html
- name: Archive tracking dashboard
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ tests-integration = "pytest -n auto -v tests/integration {args:}"
tests-examples = "pytest -n auto -v tests/examples {args:}"
tests-cov = "pytest -n auto --cov process --cov-report html:htmlcov --cov-report xml {args:tests}"

[tool.hatch.envs.track.scripts]
create-tracking-inputs = "python tracking/run_tracking_inputs.py run tests/regression/input_files {args:}"
run-tracker = "python tracking/run_tracking_inputs.py track process-tracking-data {args:}"

[tool.hatch.envs.docs]
features = ["docs"]
[tool.hatch.envs.docs.scripts]
Expand Down
Loading