Skip to content

chore(deps): update pre-commit hook psf/black to v24 #4426

chore(deps): update pre-commit hook psf/black to v24

chore(deps): update pre-commit hook psf/black to v24 #4426

Workflow file for this run

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/codecov-action@v3.1.2