-
-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (35 loc) · 962 Bytes
/
test.yaml
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
name: Unit tests
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
jobs:
Test-On-Windows:
runs-on: windows-latest
timeout-minutes: 15
steps:
# - name: Collect Workflow Telemetry
# uses: runforesight/workflow-telemetry-action@v1
- name: Python Setup
uses: actions/setup-python@v4
with:
python-version: "3.11"
architecture: x64
- name: Checkout Source
uses: actions/checkout@v3
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run Tests
# run tests separately to prevent the pipeline from failing
# when too many dialog instances are run
run: |
pytest -s .\tests\ --ignore=.\tests\widgets_dataframe
pytest -s .\tests\widgets_dataframe