Skip to content

Test building and publish docker image #5

Test building and publish docker image

Test building and publish docker image #5

Workflow file for this run

name: Run tests
on:
push:
paths:
- .github/workflows/tests.yml
- tests/**
- src/**/*.py
workflow_dispatch:
jobs:
run-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10.12"
cache: pip
- name: Install connector dependencies
run: pip install -r src/requirements.txt
- name: Install test dependencies
run: pip install -r tests/requirements.txt
- name: Run doctests
working-directory: tests
# TODO: Failure doesn't make job fail:
run: python3 run_doctests.py
- name: Run unit tests
working-directory: tests/unit
# TODO: Coverage reports:
run: pytest