build(deps): bump django-invitations from 1.9.3 to 2.1.0 #915
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
main: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: "Tests" | |
python: "3.12" | |
tox: py312 | |
coverage: true | |
- name: "ruff-format" | |
python: "3.12" | |
tox: ruff-format | |
- name: "ruff-lint" | |
python: "3.12" | |
tox: ruff-lint | |
- name: "mypy" | |
python: "3.12" | |
tox: mypy | |
- name: "Docs" | |
python: "3.12" | |
tox: docs | |
name: ${{ matrix.name }} | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.cache/pip | |
key: poetry-dev-${{ runner.os }}-${{ hashFiles('poetry.lock') }} | |
- run: python -m pip install poetry==1.8.2 tox==4.15.1 | |
- run: python -m tox -e ${{ matrix.tox }} | |
if: ${{ ! matrix.coverage }} | |
- run: python -m tox -e ${{ matrix.tox }} -- --cov-report=xml | |
if: ${{ matrix.coverage }} | |
- uses: codecov/codecov-action@v4 | |
if: ${{ matrix.coverage }} | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |