Skip to content

build: added project urls #80

build: added project urls

build: added project urls #80

Workflow file for this run

name: Tests and Linting
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Setup Poetry
uses: snok/install-poetry@v1
with:
version: latest
- name: Install dependencies
run: make install
- name: Run linting check
run: make check_lint
- name: Run formatting check
run: make check_format
- name: Run types check
run: make check_types
- name: Run tests
run: make tests
- name: Upload results to Codecov
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
fail_ci_if_error: true