Added app-clients get, status in workflows update-execution, statistics in models get #146
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: main | |
on: | |
pull_request: | |
branch: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ['3.8', '3.9', '3.10', '3.11'] | |
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 | |
python -m pip install -r requirements.txt | |
python -m pip install -r requirements.ci.txt | |
- name: Install tox | |
run: python -m pip install tox | |
- name: Start prism | |
run: | | |
make prism-start | |
sleep 10 | |
- name: Run tests | |
run: | | |
docker logs -f $(cat /tmp/prism.cid) & | |
tox -r -e py | |
kill %1 | |
make prism-stop |