fix: avoid unnecessary filters on system_platform.rh_account_id #4646
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: Tests | |
on: | |
push: | |
branches: | |
- "master" | |
- "stable" | |
pull_request: | |
branches: | |
- "master" | |
- "stable" | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.11] | |
env: | |
PGPORT: "5433" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Check environment variables | |
run: | | |
/bin/bash scripts/check_vars.sh | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Check init.py | |
run: | | |
/bin/bash scripts/check_init_py.sh | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip poetry importlib-resources==1.5.0 | |
poetry export --with dev -f requirements.txt --output requirements.txt | |
pip install -r requirements.txt | |
- name: Validate Grafana dashboard | |
run: | | |
python3 scripts/validate_dashboards.py ./monitoring/grafana/dashboards/ | |
- name: Run tests | |
run: | | |
/bin/bash run_tests.sh | |
- name: Run codecov | |
uses: codecov/[email protected] |