Merge branch 'master' into dependabot/pip/wheel-0.43.0 #199
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: CI | |
on: | |
push: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Install test dependencies via pip | |
run: pip install -r requirements/test_black.txt | |
- name: Lint | |
run: make lint | |
build: | |
runs-on: ubuntu-latest | |
needs: lint | |
strategy: | |
matrix: | |
python-version: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
steps: | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "${{ matrix.python-version }}" | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Install test dependencies via pip | |
run: pip install -r requirements/test_black.txt | |
- name: Run tests | |
run: | | |
make test | |
coverage report | |
coverage xml | |
- name: Upload Python coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
flags: python | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |