Skip to content

Commit 879b4a5

Browse files
committed
Add GitHub Actions test
1 parent 734f240 commit 879b4a5

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/run_tests.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
# Weekly Friday 5AM build
8+
# * is a special character in YAML so you have to quote this string
9+
- cron: '0 5 * * 5'
10+
11+
jobs:
12+
tests:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
fail-fast: true
16+
matrix:
17+
os: [ubuntu-latest]
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
- name: Set up Python
22+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
23+
with:
24+
python-version: '3.13'
25+
- name: Install and build
26+
run: python -m pip install .[test]
27+
- name: Run tests
28+
run: pytest tests

0 commit comments

Comments
 (0)