Skip to content

Python 3.10 on the CI as well, add version to reqs file #3

Python 3.10 on the CI as well, add version to reqs file

Python 3.10 on the CI as well, add version to reqs file #3

Workflow file for this run

name: Python application
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -e .
- name: Pre-commit checks
run: |
pre-commit run --all-files
- name: Run tests
run: |
python -m pytest