Skip to content

Commit 732a842

Browse files
Restore optional.yml
1 parent 2e851e0 commit 732a842

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

.github/workflows/optional.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: "Optional"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
nightly:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- name: Install project dependencies
18+
uses: ./.github/setup
19+
with:
20+
os: ubuntu-latest
21+
python-version: "3.11"
22+
23+
- name: Run pytest (against pandas nightly)
24+
run: poetry run poe pytest --nightly
25+
26+
mypy_nightly:
27+
runs-on: ubuntu-latest
28+
timeout-minutes: 10
29+
30+
steps:
31+
- uses: actions/checkout@v3
32+
33+
- name: Install project dependencies
34+
uses: ./.github/setup
35+
with:
36+
os: ubuntu-latest
37+
python-version: "3.11"
38+
39+
- name: Run mypy tests with mypy nightly
40+
run: poetry run poe mypy --mypy_nightly
41+
42+
pyright_strict:
43+
runs-on: ubuntu-latest
44+
timeout-minutes: 10
45+
46+
steps:
47+
- uses: actions/checkout@v3
48+
49+
- name: Install project dependencies
50+
uses: ./.github/setup
51+
with:
52+
os: ubuntu-latest
53+
python-version: "3.11"
54+
55+
- name: Run pyright tests with full strict mode
56+
run: poetry run poe pyright_strict

0 commit comments

Comments
 (0)