Merge pull request #338 from W24-Service-GmbH/werk24/issue-337 #1202
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: 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 |