-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (46 loc) · 1016 Bytes
/
pull-request.yaml
File metadata and controls
46 lines (46 loc) · 1016 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: pull-request
"on":
pull_request:
branches:
- master
schedule:
- cron: 31 16 * * *
jobs:
pyright:
runs-on: ubuntu-latest
steps:
- name: Run 'pyright'
uses: dycw/action-pyright@latest
with:
python-version: "3.12"
pytest:
env:
CI: "1"
name: pytest (${{matrix.os}}, ${{matrix.python-version}}, ${{matrix.resolution}})
runs-on:
- ${{matrix.os}}
steps:
- name: Run 'pytest'
uses: dycw/action-pytest@latest
with:
python-version: ${{matrix.python-version}}
resolution: ${{matrix.resolution}}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
python-version:
- "3.12"
- "3.13"
- "3.14"
resolution:
- highest
- lowest-direct
timeout-minutes: 10
ruff:
runs-on: ubuntu-latest
steps:
- name: Run 'ruff'
uses: dycw/action-ruff@latest