Spaces:
Sleeping
Sleeping
Commit
·
3c89177
1
Parent(s):
b0938ca
Updated CI to change path
Browse files- .github/workflows/ci.yml +2 -1
.github/workflows/ci.yml
CHANGED
|
@@ -28,13 +28,14 @@ jobs:
|
|
| 28 |
python -m pip install --upgrade pip
|
| 29 |
pip install -r requirements.txt
|
| 30 |
pip install -r requirements-dev.txt || true # optional extra dev file
|
| 31 |
-
pip install -e .
|
| 32 |
|
| 33 |
- name: 🧹 Pre-commit (black, isort, flake8 …)
|
| 34 |
if: github.event_name == 'pull_request'
|
| 35 |
uses: pre-commit/action@v3.0.1
|
| 36 |
|
| 37 |
- name: ✅ Run tests w/ coverage
|
|
|
|
|
|
|
| 38 |
run: |
|
| 39 |
pytest -q --cov=evaluation --cov-report=xml
|
| 40 |
|
|
|
|
| 28 |
python -m pip install --upgrade pip
|
| 29 |
pip install -r requirements.txt
|
| 30 |
pip install -r requirements-dev.txt || true # optional extra dev file
|
|
|
|
| 31 |
|
| 32 |
- name: 🧹 Pre-commit (black, isort, flake8 …)
|
| 33 |
if: github.event_name == 'pull_request'
|
| 34 |
uses: pre-commit/action@v3.0.1
|
| 35 |
|
| 36 |
- name: ✅ Run tests w/ coverage
|
| 37 |
+
env:
|
| 38 |
+
PYTHONPATH: ${{ github.workspace }}
|
| 39 |
run: |
|
| 40 |
pytest -q --cov=evaluation --cov-report=xml
|
| 41 |
|