Skip to content

Merge pull request #21 from ministryofjustice/dependabot/github_actio… #61

Merge pull request #21 from ministryofjustice/dependabot/github_actio…

Merge pull request #21 from ministryofjustice/dependabot/github_actio… #61

Workflow file for this run

name: Run tests
on: push
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install gettext
run: sudo apt-get install gettext
- name: Update setuptools pip and wheel
run: pip install -U setuptools pip wheel
- name: Install testing requirements
run: pip install -r requirements-test.txt
- name: Run tests
run: |
pip install --editable .
python scripts/messages.py compile
python -m tests