🐩 complete common testing #49
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: 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@v5 | |
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 | |