forked from github.com/blag
remove fail-fast for non-matrix, seperate setup venv
This commit is contained in:
20
.github/workflows/python-package.yaml
vendored
20
.github/workflows/python-package.yaml
vendored
@@ -30,17 +30,17 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Setup virtual environment
|
||||
run: |
|
||||
make venv
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
make test
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
@@ -49,17 +49,17 @@ jobs:
|
||||
with:
|
||||
python-version: "3.x"
|
||||
|
||||
- name: Setup virtual environment
|
||||
run: |
|
||||
make venv
|
||||
|
||||
- name: Run linter
|
||||
run: |
|
||||
make lint
|
||||
|
||||
mypy:
|
||||
name: mypy
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
@@ -68,6 +68,10 @@ jobs:
|
||||
with:
|
||||
python-version: "3.x"
|
||||
|
||||
- name: Setup virtual environment
|
||||
run: |
|
||||
make venv
|
||||
|
||||
- name: Run mypy
|
||||
run: |
|
||||
make mypy
|
||||
|
||||
Reference in New Issue
Block a user