chore(deps): update dependency django to v5.0.10 [security] #2156
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '**' | |
jobs: | |
cleanup-runs: | |
runs-on: ubuntu-latest | |
if: "!startsWith(github.ref, 'refs/tags/') && !endsWith(github.ref, 'main')" | |
steps: | |
- uses: rokroskar/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
build: | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: [3.7, 3.8, 3.9, '3.10', 3.11] | |
exclude: | |
- platform: macos-latest | |
python-version: 3.11 | |
- platform: macos-latest | |
python-version: 3.7 | |
- platform: windows-latest | |
python-version: 3.11 | |
steps: | |
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
cache-dependency-path: '**/requirements.txt' | |
- name: Install dependencies | |
run: | | |
make install-test | |
- name: Run test | |
run: make tox | |
env: | |
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
PLATFORM: ${{ matrix.platform }} | |
- name: "Upload coverage to Codecov" | |
if: ${{ runner.os == 'Linux' && matrix.python-version == '3.9' }} | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true |