Store error taxonomy data in the analytics database instead of OpenSearch #10
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: Analytics CI | |
on: | |
pull_request: | |
paths: | |
- "analytics/**" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: analytics/ | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Start background services | |
run: docker compose up -d | |
- name: Install requirements | |
run: pip install -r requirements.txt | |
- name: Provide default env vars for django | |
run: cat dev/.env.docker-compose >> $GITHUB_ENV | |
- name: Run tests | |
run: pytest analytics/tests | |
env: | |
DJANGO_SETTINGS_MODULE: settings |