Skip to content

Commit

Permalink
More workflow fixes / tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmackaij committed Feb 13, 2024
1 parent 24e1d93 commit d98b30a
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ jobs:
pip install poetry
poetry config virtualenvs.create false
poetry install
- name: Check types on Linux with latest Python 3.12
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
run: |
inv type-check
- name: Run linting on Linux with Python 3.12
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
run: |
inv lint
- name: Create distribution
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
run: |
Expand All @@ -45,6 +53,9 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os: [ 'ubuntu-latest', 'windows-latest']
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12']
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand All @@ -59,14 +70,6 @@ jobs:
pip install poetry
poetry config virtualenvs.create false
poetry install
- name: Check types on Linux with latest Python 3.12
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
run: |
inv type-check
- name: Run linting on Linux with Python 3.12
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
run: |
inv lint
- name: Start the test server in the background
uses: JarvusInnovations/background-action@v1
with:
Expand Down

0 comments on commit d98b30a

Please sign in to comment.