Skip to content

Commit 52226ca

Browse files
committed
fix(CI): remove dbc extra installation from CI on windows
1 parent b0b4876 commit 52226ca

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,13 @@ jobs:
3636
run: |
3737
pip install poetry poetry-plugin-export
3838
poetry config virtualenvs.create false
39-
poetry export --with dev --extras dbc --format requirements.txt --output reqs.txt --without-hashes
40-
pip install -r reqs.txt
41-
pip install -e ".[dbc]"
39+
if [ "${{ runner.os }}" = "Linux" ]; then
40+
poetry install --without dev --extras dbc
41+
pip install pre-commit
42+
else
43+
poetry install --without dev
44+
fi
45+
pip install pytest pytest-timeout pytest-retry pytest-asyncio pytest-cov
4246
4347
- name: Linting
4448
if: matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)