Skip to content

Commit 2c73ad4

Browse files
committed
Add testing workflow
1 parent 8687f51 commit 2c73ad4

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/test.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
test:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
fail-fast: true
15+
matrix:
16+
os:
17+
- ubuntu-latest
18+
- windows-latest
19+
- macos-latest
20+
python-version:
21+
- '3.9'
22+
- '3.13'
23+
steps:
24+
- uses: actions/checkout@v4
25+
- name: Install poetry
26+
run: pipx install poetry
27+
- uses: actions/setup-python@v5
28+
with:
29+
python-version: ${{ matrix.python-version }}
30+
cache: poetry
31+
- name: Setup
32+
run: |
33+
DOWNLOAD_LATEST_ONLY=1 python publish.py
34+
poetry install --no-interaction
35+
- name: Test
36+
run: |
37+
poetry run task test

0 commit comments

Comments
 (0)