reduced num of py/django combos and kept only postgres in ci #249
Workflow file for this run
This file contains hidden or 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: Codecov | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Run tests and collect coverage | |
runs-on: [self-hosted, ubuntu-latest] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Docker Compose | |
run: docker compose up -d --wait | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: make ci-install-deps-global | |
- name: Run tests | |
env: | |
RABBIT_MQ_HOST: localhost | |
RABBIT_MQ_PORT: 5680 | |
KAFKA_CONN_DETAILS: '{"bootstrap_servers": "localhost:9092"}' | |
REDIS_PORT: 6379 | |
run: | | |
make test-cov | |
- name: Upload results to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |