Adds metrics export using opentelemetry API for notifications queue processing #8
Workflow file for this run
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: Unit Tests | |
on: [pull_request] | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Start docker container | |
run: docker compose up -d app | |
- name: Copy root pyproject.toml file | |
run: docker compose cp pyproject.toml app:app/pyproject.toml | |
- name: Run tests using bob container | |
run: docker compose exec -T app pytest | |
- name: Stop containers | |
run: docker compose down |