Skip to content

Commit 49edaeb

Browse files
committed
fix action
1 parent c9d3b28 commit 49edaeb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
branches: [ master ]
1111

1212
jobs:
13+
defaults:
14+
run:
15+
shell: bash
16+
1317
testCode:
1418

1519
strategy:
@@ -28,8 +32,7 @@ jobs:
2832
run: |
2933
python -m pip install --upgrade pip
3034
pip install flake8 pytest
31-
- if: ${{ matrix.os == ubuntu-latest }}
32-
run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
35+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3336
- name: Lint with flake8
3437
run: |
3538
# stop the build if there are Python syntax errors or undefined names

0 commit comments

Comments
 (0)