Skip to content

[ci] add codeowners #135

[ci] add codeowners

[ci] add codeowners #135

Workflow file for this run

name: tests
on:
pull_request:
push:
release:
env:
default-python: "3.12"
minimum-supported-python: "3.9"
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: make init
- name: Run lint
run: make lint
- name: Run typecheck
run: make typecheck
- name: Run tests
run: make test
upload-coverage:
runs-on: ubuntu-latest
needs: run-tests
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: make init
- name: Run tests
run: pytest --cov=l2m2 --cov=test_utils --cov-report=lcov
- name: Upload coverage
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}