Skip to content

chore(deps): update actions/checkout action to v4 #147

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #147

Workflow file for this run

name: CI
on:
merge_group:
pull_request:
branches:
- "*"
push:
branches:
- "main"
jobs:
run-ci:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SKIP: "pytest-check"
name: Run Type Check & Linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Set up Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.4.2
- name: Install python dependencies
run: poetry install
- uses: pre-commit/[email protected]
name: "Linters and formatters check"
with:
extra_args: --all-files --show-diff-on-failure
- name: Run pytest
run: PYTHONPATH="." poetry run pytest --cov=src --cov-report xml:coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true