Merge branch '5-pipeline-with-unit-tests' of https://gitea.piribauer.ch/julian/Calabi-Yau-Period-Geometry into 5-pipeline-with-unit-tests
This commit is contained in:
@@ -29,7 +29,10 @@ jobs:
|
||||
- name: ruff check
|
||||
# --no-respect-gitignore: *.sage.py is gitignored (it's generated, see
|
||||
# the previous step) but that's exactly what we need to lint here.
|
||||
run: sage --python -m ruff check --no-respect-gitignore .
|
||||
# `python` here is the conda env's own interpreter -- it already has
|
||||
# sage/ruff/pytest importable, `sage --python` isn't a real flag on
|
||||
# the conda-forge sage CLI.
|
||||
run: python -m ruff check --no-respect-gitignore .
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -42,4 +45,4 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run tests
|
||||
run: sage --python -m pytest tests/
|
||||
run: python -m pytest tests/
|
||||
|
||||
Reference in New Issue
Block a user