-
Notifications
You must be signed in to change notification settings - Fork 12
39 lines (31 loc) · 1.02 KB
/
python-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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