Skip to content

feat(jans-auth-server): OpenID AuthZEN implementation #304

feat(jans-auth-server): OpenID AuthZEN implementation

feat(jans-auth-server): OpenID AuthZEN implementation #304

Workflow file for this run

name: testcases
on:
push:
branches:
- main
paths:
- "jans-pycloudlib/jans/**"
- "jans-pycloudlib/tests/**"
- "jans-pycloudlib/setup.py"
- "!**.md"
pull_request:
branches:
- main
paths:
- "jans-pycloudlib/jans/**"
- "jans-pycloudlib/tests/**"
- "jans-pycloudlib/setup.py"
- "!jans-pycloudlib/CHANGELOG.md"
- "!jans-pycloudlib/jans/pycloudlib/version.py"
- "!**.md"
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- name: Harden Runner
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install tox
- name: Test with pytest
run: |
cd ./jans-pycloudlib
tox
- name: Upload coverage to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
file: ./jans-pycloudlib/coverage.xml
files: ./jans-pycloudlib/coverage1.xml,./jans-pycloudlib/coverage2.xml
directory: ./jans-pycloudlib/coverage/reports/
flags: unittests
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: true
verbose: true