viv/.github/workflows/test.yml

33 lines
582 B
YAML
Raw Normal View History

name: 🧪 Run Tests
on:
2023-10-07 11:07:21 -05:00
pr:
push:
workflow_call:
workflow_dispatch:
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8','3.9','3.10','3.11']
os:
- ubuntu-latest
- windows-latest
# - macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version}}
- name: Install dependencies
run: pdm sync -d -G test
- name: Run Tests
run: pdm run -v pytest tests