We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cfec31 commit ea1ad69Copy full SHA for ea1ad69
.github/workflows/python-package.yml
@@ -23,10 +23,20 @@ jobs:
23
uses: actions/setup-python@v2
24
with:
25
python-version: ${{ matrix.python-version }}
26
- - name: Install dependencies
+
27
+ - name: Install dependencies (Linux/macOS)
28
+ if: runner.os != 'Windows'
29
run: |
30
python -m pip install --upgrade pip
31
if [ -f requirements.txt ]; then pip install -r requirements.txt -r requirements_dev.txt; fi
32
33
+ - name: Install dependencies (Windows)
34
+ if: runner.os == 'Windows'
35
+ run: |
36
+ python -m pip install --upgrade pip
37
+ if (Test-Path requirements.txt) { pip install -r requirements.txt -r requirements_dev.txt }
38
+ shell: pwsh
39
40
- name: Test with pytest
41
42
python -m pytest -v -x test
0 commit comments