Skip to content

Merge pull request #340 from W24-Service-GmbH/werk24-patch-5 #1207

Merge pull request #340 from W24-Service-GmbH/werk24-patch-5

Merge pull request #340 from W24-Service-GmbH/werk24-patch-5 #1207

Workflow file for this run

name: Tests | cpython 3.9, 3.10, 3.11, 3.12
on: push
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.10.x, 3.11.x, 3.12.x]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Checkout the json schema
uses: actions/checkout@v4
with:
repository: W24-Service-GmbH/werk24-json-schema
ref: main
path: werk24-json-schema
token: ${{ secrets.JSON_SCHEMA_GITHUB_PAT }}
- name: Install nose2
run: pip install nose2
- name: Install Dependencies
run: python -m pip install -r ./requirements.txt && python -m pip install -r ./test/requirements.txt
- name: Test
env:
W24TECHREAD_AUTH_REGION: ${{ secrets.W24TECHREAD_AUTH_REGION }}
W24TECHREAD_AUTH_TOKEN: ${{ secrets.W24TECHREAD_AUTH_TOKEN }}
run: nose2