Synchronise all Prod registers to Test instance (#543) #197
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: check_consistency | |
on: | |
# Trigger the workflow on push | |
# but only for the master branch | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10'] | |
test-mode: [test, prod] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install rdflib | |
pip install requests | |
pip install testtools | |
- name: Test | |
run: | | |
tmode=${{ matrix.test-mode }} python3 -m scripts.check_urls |