Skip to content

Commit 3717225

Browse files
committed
separate
1 parent 83d980a commit 3717225

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

.github/setup/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Setup poetry
1+
name: Install project dependencies
22

33
inputs:
44
python-version:

.github/workflows/test.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: 'Test'
33
on:
44
[push, pull_request, workflow_dispatch]
55
jobs:
6-
test:
6+
released:
77
runs-on: ${{ matrix.os }}
88
timeout-minutes: 10
99
strategy:
@@ -16,7 +16,8 @@ jobs:
1616

1717
- uses: actions/checkout@v3
1818

19-
- uses: ./.github/setup
19+
- name: Install project dependencies
20+
uses: ./.github/setup
2021
with:
2122
os: ${{ matrix.os }}
2223
python-version: ${{ matrix.python-version }}
@@ -42,7 +43,19 @@ jobs:
4243
- name: Install pandas-stubs and run tests on the installed stubs
4344
run: poetry run poe test_dist
4445

45-
# pandas nightly might have deprecated older python versions
46-
- if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'
47-
name: Run pytest (against pandas nightly)
46+
nightly:
47+
runs-on: ubuntu-latest
48+
timeout-minutes: 10
49+
50+
steps:
51+
52+
- uses: actions/checkout@v3
53+
54+
- name: Install project dependencies
55+
uses: ./.github/setup
56+
with:
57+
os: ubuntu-latest
58+
python-version: '3.10'
59+
60+
- name: Run pytest (against pandas nightly)
4861
run: poetry run poe pytest --nightly

0 commit comments

Comments
 (0)