Testing OIDC #381
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: Unit tests | |
on: # yamllint disable-line rule:truthy | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- v* | |
pull_request: | |
branches: | |
- main | |
- v* | |
jobs: | |
unit-tests: | |
name: Unit tests | |
strategy: | |
matrix: | |
python_version: ["3.8", "3.9", "3.10", "3.11"] | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
container: | |
image: ghcr.io/${{ github.repository }}:CI-${{ matrix.python_version }}-msodbc18 | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.github_token }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: pip install -r dev_requirements.txt | |
- name: Run unit tests | |
run: pytest -n auto -ra -v tests/unit |