Skip to content

Commit 259a359

Browse files
committed
CI: split benchmarks from other checks
That job was the longest-running, so this should parallelize them.
1 parent 3905b59 commit 259a359

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
shell: bash -l {0}
2222

2323
steps:
24+
2425
- name: Checkout
2526
uses: actions/checkout@v1
2627

@@ -68,6 +69,34 @@ jobs:
6869
run: pytest --capture=no --strict-markers scripts
6970
if: always()
7071

72+
benchmarks:
73+
name: Benchmarks
74+
runs-on: ubuntu-latest
75+
defaults:
76+
run:
77+
shell: bash -l {0}
78+
79+
steps:
80+
81+
- name: Checkout
82+
uses: actions/checkout@v1
83+
84+
- name: Cache conda
85+
uses: actions/cache@v2
86+
with:
87+
path: ~/conda_pkgs_dir
88+
key: ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
89+
90+
- uses: conda-incubator/setup-miniconda@v2
91+
with:
92+
activate-environment: pandas-dev
93+
channel-priority: strict
94+
environment-file: ${{ env.ENV_FILE }}
95+
use-only-tar-bz2: true
96+
97+
- name: Build Pandas
98+
uses: ./.github/actions/build_pandas
99+
71100
- name: Running benchmarks
72101
run: |
73102
cd asv_bench

0 commit comments

Comments
 (0)