Make oidc ssl cert verification configurable #76
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
# This workflow will run the full CI for the Horreum python library including the build and the tests execution | |
# This is going to be triggered on every pull request as well as on all stable branches (e.g., main and 0.12.x). | |
name: Python client ci | |
on: | |
push: | |
branches: | |
- main | |
- 0.12.x | |
- 0.13.x | |
- 0.14.x | |
- 0.15.x | |
- 0.16.x | |
pull_request: | |
jobs: | |
test: | |
name: test/${{ matrix.python }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: ["3.9", "3.10", "3.11"] | |
env: | |
FORCE_COLOR: "1" | |
PRE_COMMIT_COLOR: "always" | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Upgrade pip | |
run: | | |
pip install --constraint=./dev-constraints.txt pip | |
pip --version | |
- name: Install poetry | |
run: | | |
pip install --constraint=./dev-constraints.txt poetry | |
poetry --version | |
- name: Install Nox | |
run: | | |
pip install --constraint=./dev-constraints.txt nox nox-poetry | |
nox --version | |
- name: Generate horreum client | |
run: make generate | |
- name: Test horreum | |
run: nox --python=${{ matrix.python }} -s tests |