Keep github actions updated #59
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: 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@v3 | |
- 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 |