Skip to content

add new github link

add new github link #5

Workflow file for this run

name: Test-Suite
on:
workflow_dispatch:
pull_request:
types: [review_requested]
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10' ]
name: Test-Suite for Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Start Test Infrastructure
run: |
cd tests
bash ./start_infra.sh
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Pip
run: |
python -m pip install --upgrade pip wheel
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
- name: Wait for Infrastructure to be ready
run: |
chmod +x tests/wait_for_service.sh & bash tests/wait_for_service.sh http://localhost:8085 200 100
- name: Test with pytest
run: |
pytest tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false
- name: Teardown Test Infrastructure
if: always()
run: |
cd tests
bash ./stop_infra.sh