Skip to content

Commit

Permalink
Update CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Feb 18, 2024
1 parent fcfc611 commit cd5bc52
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,29 @@ on:
workflow_dispatch:

jobs:
ci:
name: Python ${{ matrix.python-version }}
typing:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install package and dependencies
run: |
python -m pip install --upgrade pip setuptools build
python -m pip install .[lint]
- name: Check types with mypy
run: |
mypy
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
fail-fast: false

steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -39,6 +54,16 @@ jobs:
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Check package build
run: |
python -m build

0 comments on commit cd5bc52

Please sign in to comment.