Skip to content

Merge pull request #1254 from freelawproject/fix-mass-cleanup-content #3332

Merge pull request #1254 from freelawproject/fix-mass-cleanup-content

Merge pull request #1254 from freelawproject/fix-mass-cleanup-content #3332

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install wheel
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run tests
run: pytest
# Cancel the current workflow (tests) for pull requests (head_ref) only. See:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true