-
Notifications
You must be signed in to change notification settings - Fork 3
30 lines (30 loc) · 830 Bytes
/
pr.yaml
File metadata and controls
30 lines (30 loc) · 830 Bytes
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
name: Pull request
on:
pull_request:
branches: [master]
jobs:
Lint:
uses: PolicyEngine/.github/.github/workflows/lint.yml@main
check-changelog:
uses: PolicyEngine/.github/.github/workflows/changelog.yml@main
Test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install package
run: make install
- name: Run tests
run: make test
- uses: codecov/codecov-action@v4
- name: Build package
run: make build