Skip to content

Commit

Permalink
Test with python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
dlesbre committed Jan 23, 2024
1 parent f579cc4 commit 3fde140
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,36 @@
# - install Python dev dependencies
# - run black, isort, flake8, mypy and pytest


name: Python application

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

permissions:
contents: read

jobs:
test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: make setup-dev
- name: Lint with flake8
run: make flake8
- name: Run formatters
run: make format-check
- name: Typecheck with mypy
run: make mypy
- name: Check script
run: btac --version
- name: Test with pytest
run: make test
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: make setup-dev
- name: Lint with flake8
run: make flake8
- name: Run formatters
run: make format-check
- name: Typecheck with mypy
run: make mypy
- name: Check script
run: btac --version
- name: Test with pytest
run: make test

0 comments on commit 3fde140

Please sign in to comment.