Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): update Python versions in GitHub Actions workflow #70

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
41 changes: 41 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: check lint

on:
pull_request:
branches:
- main
push:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.10'
- '3.11'
- '3.12.4'
- '3.13'

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.8.4

- name: Disables creation of virtualenvs
run: poetry config virtualenvs.create false

- name: Install dependencies
run: poetry install

- name: run lint
run: |
make check
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- '3.10'
- '3.11'
- '3.12.4'
- '3.13'

steps:
- uses: actions/checkout@v4
Expand All @@ -25,19 +26,16 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
uses: Gr1N/setup-poetry@v8
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.8.3
poetry-version: 1.8.4

- name: Disables creation of virtualenvs
run: poetry config virtualenvs.create false

- name: Install dependencies
run: poetry install

- name: run lint
run: |
make check
- name: run tests
run: |
make test
Loading
Loading