Skip to content

chore(deps): update codacy/codacy-analysis-cli-action action to v4.4.0 #680

chore(deps): update codacy/codacy-analysis-cli-action action to v4.4.0

chore(deps): update codacy/codacy-analysis-cli-action action to v4.4.0 #680

Workflow file for this run

name: CI Test
on:
push:
branches: [ main ]
paths-ignore:
- "README.md"
- "docs/**"
pull_request:
branches: [ main ]
paths-ignore:
- "README.md"
- "docs/**"
jobs:
build:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ubuntu-20.04, ubuntu-latest, macos-latest, windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11']
exclude:
- platform: ubuntu-latest
python-version: 3.6
- platform: macos-latest
python-version: '3.11'
- platform: windows-latest
python-version: 3.6
- platform: windows-latest
python-version: '3.11'
steps:
- uses: actions/checkout@v4.1.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.0.0
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: '**/requirements.txt'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
env:
DJANGO_SETTINGS_MODULE: django_extra_field_validation.settings
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
PLATFORM: ${{ matrix.platform }}