@@ -6,9 +6,9 @@ name: Python CI — nrc core library
66
77on :
88 push :
9- branches : ["main "]
9+ branches : ["master "]
1010 pull_request :
11- branches : ["main "]
11+ branches : ["master "]
1212 workflow_dispatch :
1313
1414jobs :
@@ -37,16 +37,16 @@ jobs:
3737
3838 - name : Lint with ruff
3939 run : |
40- ruff check src/ --select E9,F63,F7,F82 --output-format=github
41- ruff check src/ --exit-zero --output-format=github
40+ python -m ruff check src/ --select E9,F63,F7,F82 --output-format=github
41+ python -m ruff check src/ --exit-zero --output-format=github
4242
43- - name : Type-check with mypy
43+ - name : Type-check with python -m mypy
4444 run : |
45- mypy src/nrc --ignore-missing-imports || true
45+ python -m mypy src/nrc --ignore-missing-imports || true
4646
47- - name : Run tests with pytest
47+ - name : Run tests with python -m pytest
4848 run : |
49- pytest tests/ -v --tb=short
49+ python -m pytest tests/ -v --tb=short
5050
5151 # ----------------------------------------------------------------
5252 # coverage: runs only on Python 3.12 against main
@@ -63,10 +63,10 @@ jobs:
6363 cache : " pip"
6464 - name : Install with coverage extras
6565 run : |
66- pip install ".[dev]" pytest-cov
66+ pip install ".[dev]" python -m pytest-cov
6767 - name : Run tests with coverage
6868 run : |
69- pytest tests/ --cov=src/nrc --cov-report=term-missing --cov-report=xml
69+ python -m pytest tests/ --cov=src/nrc --cov-report=term-missing --cov-report=xml
7070 - name : Upload coverage report
7171 uses : codecov/codecov-action@v4
7272 with :
0 commit comments