Skip to content

build(deps): bump certifi from 2024.8.30 to 2025.1.31 #513

build(deps): bump certifi from 2024.8.30 to 2025.1.31

build(deps): bump certifi from 2024.8.30 to 2025.1.31 #513

name: "Integration Tests"
on: [ push, pull_request ]
jobs:
pytest:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [ "3.11", "3.12" ]
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Log into registry
# GHCR_PAT is a personal access token for the Github Container Registry; You can create it using the following steps:
# 1) Go to https://github.com/settings/tokens
# 2) Create a new token (classic as of 2025-02-02)
# 3) Select the following scopes: read:packages
# GHCR_USR is the username for the Github Container Registry; it has to match the PAT and is the username of the Github account that created the PAT
# You can update the tokens in the repository settings:
# https://github.com/Hochfrequenz/TransformerBeeClient.py/settings/secrets/actions/GHCR_PAT
# https://github.com/Hochfrequenz/TransformerBeeClient.py/settings/secrets/actions/GHCR_USR
# Tokens will expire 2025-02-01
run: echo "${{ secrets.GHCR_PAT }}" | docker login ghcr.io -u ${{ secrets.GHCR_USR }} --password-stdin
- name: Start containers
run: docker compose -f "integrationtests/docker-compose.yml" up -d
- name: Run the Integration Tests via Tox
env: # this is for the tests with real oauth-checks
AUTH0_TEST_CLIENT_ID: ${{ secrets.AUTH0_TEST_CLIENT_ID }}
AUTH0_TEST_CLIENT_SECRET: ${{ secrets.AUTH0_TEST_CLIENT_SECRET }}
run: |
tox -e integrationtests