-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 1.14 KB
/
python-platform-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
40
41
42
43
name: Python Platform Tests
on:
push:
paths:
- .github/workflows/python-test-matrix.yml
- requirements.txt
- src/**
- tests/**
pull_request:
branches-ignore:
- docs
workflow_dispatch:
jobs:
pytest-matrix:
name: Pytest & Poodle
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
py: ['3.9','3.10','3.11','3.12']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py }}
- name: Install Dependencies and Tools
run: |
python3 -m pip install --upgrade pip
pip install -r requirements.txt --upgrade
pip install --editable .
- run: pytest
- name: Poodle example project
run : |
cd example
poodle --report summary --report not_found --json results.json --html html_report
- name: Poodle example flat project
run : |
cd example2
poodle --report summary --report not_found --json results.json --html html_report