1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 20:52:43 +00:00

split mypy and lint from tests and run them only on linux/latest stable python

This commit is contained in:
Bastian Venthur
2022-11-15 21:11:15 +01:00
parent ffe9d21f91
commit c3993f5111

View File

@@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
@@ -34,10 +34,40 @@ jobs:
run: |
make test
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Run linter
run: |
make lint
mypy:
name: mypy
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Run mypy
run: |
make mypy