Queue reading and cron jobs #34
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: ci-accessibility-tests | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: [3.12] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install JS Dependencies | |
run: | | |
sudo npm install -g --unsafe-perm=true --allow-root pa11y-ci | |
- name: Install Python Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r requirements-test.txt | |
- name: Run Tests | |
run: | | |
cd agate | |
mv core/local_settings.test.py core/local_settings.py | |
python manage.py makemigrations | |
python manage.py migrate | |
python manage.py runserver & sleep 5 | |
pa11y-ci |