-
Notifications
You must be signed in to change notification settings - Fork 15
44 lines (42 loc) · 1.17 KB
/
run_system_tests.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
40
41
42
43
44
name: Run system tests
on:
workflow_call:
workflow_dispatch:
jobs:
run_system_tests:
name: Run system tests
runs-on:
- self-hosted
- windows
- x64
- rdss-measlinkbot-win-10-${{ matrix.configuration }}
strategy:
matrix:
configuration: ["py32", "py64"]
# Fail-fast skews the pass/fail ratio and seems to make pytest produce
# incomplete JUnit XML results.
fail-fast: false
timeout-minutes: 90
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Copy and rename .env.simulation to .env
run: cp examples/.env.simulation .env
- name: Cache virtualenvs
uses: actions/cache@v3
id: cache
with:
path: |
.venv
.tox
key: run-system-tests-${{ runner.os }}-${{ matrix.configuration }}-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: poetry install -v
- name: Run system tests
run: poetry run tox
- name: Upload test results
uses: actions/upload-artifact@v3
with:
name: test_results
path: test_results/*.xml
if: always()