chore(deps): update pre-commit hook psf/black to v26 (master) #6469
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: Tests | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| - "stable" | |
| pull_request: | |
| branches: | |
| - "master" | |
| - "stable" | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.12] | |
| 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 | |
| pip install -r requirements.txt -r requirements-dev.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 |