🌴 Update version #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pipeline | |
on: | |
push: | |
jobs: | |
# Lint | |
check-ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- uses: ./.github/actions/lint-install | |
- name: Run ruff | |
run: | | |
make check-ruff | |
check-black: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- uses: ./.github/actions/lint-install | |
- name: Run black | |
run: | | |
make check-black | |
check-isort: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- uses: ./.github/actions/lint-install | |
- name: Run isort | |
run: | | |
make check-isort | |
check-mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- uses: ./.github/actions/lint-install | |
- name: Run mypy | |
run: | | |
make check-mypy | |
check-pylint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- uses: ./.github/actions/lint-install | |
- name: Install requests | |
run: | | |
pip install requests==2.30.0 | |
- name: Install dependencies | |
run: | | |
make install-dev SYNC="" | |
- name: Run pylint | |
run: | | |
make check-pylint | |
# Test | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Set up python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
cache: "pip" | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
make install-ci | |
make install-test | |
- name: Run tests | |
run: | | |
make cover-xml | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |