1111 - 1.4.x
1212
1313env :
14- ENV_FILE : environment.yml
1514 PANDAS_CI : 1
1615
1716jobs :
@@ -52,20 +51,13 @@ jobs:
5251 with :
5352 fetch-depth : 0
5453
55- - name : Cache conda
56- uses : actions/cache@v2
57- with :
58- path : ~/conda_pkgs_dir
59- key : ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
54+ - name : Set up Conda
55+ uses : ./.github/actions/setup
6056
61- - uses : conda-incubator/setup-miniconda@v2
62- with :
63- mamba-version : " *"
64- channels : conda-forge
65- activate-environment : pandas-dev
66- channel-priority : strict
67- environment-file : ${{ env.ENV_FILE }}
68- use-only-tar-bz2 : true
57+ - name : Build Pandas
58+ uses : ./.github/actions/build-pandas
59+ id : build
60+ continue-on-error : true
6961
7062 - name : Install node.js (for pyright)
7163 uses : actions/setup-node@v2
7668 # note: keep version in sync with .pre-commit-config.yaml
7769 run :
npm install -g [email protected] 7870
79- - name : Build Pandas
80- id : build
81- uses : ./.github/actions/build_pandas
82-
8371 - name : Run checks on imported code
8472 run : ci/code_checks.sh code
8573 if : ${{ steps.build.outcome == 'success' }}
9482
9583 - name : Run typing validation
9684 run : ci/code_checks.sh typing
97- if : ${{ steps.build.outcome == 'success' }}
9885
9986 - name : Run docstring validation script tests
10087 run : pytest scripts
101- if : ${{ steps.build.outcome == 'success' }}
10288
10389 asv-benchmarks :
10490 name : ASV Benchmarks
@@ -118,24 +104,11 @@ jobs:
118104 with :
119105 fetch-depth : 0
120106
121- - name : Cache conda
122- uses : actions/cache@v2
123- with :
124- path : ~/conda_pkgs_dir
125- key : ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
126-
127- - uses : conda-incubator/setup-miniconda@v2
128- with :
129- mamba-version : " *"
130- channels : conda-forge
131- activate-environment : pandas-dev
132- channel-priority : strict
133- environment-file : ${{ env.ENV_FILE }}
134- use-only-tar-bz2 : true
107+ - name : Set up Conda
108+ uses : ./.github/actions/setup
135109
136110 - name : Build Pandas
137- id : build
138- uses : ./.github/actions/build_pandas
111+ uses : ./.github/actions/build-pandas
139112
140113 - name : Run ASV benchmarks
141114 run : |
@@ -148,7 +121,6 @@ jobs:
148121 if grep "failed" benchmarks.log > /dev/null ; then
149122 exit 1
150123 fi
151- if : ${{ steps.build.outcome == 'success' }}
152124
153125 - name : Publish benchmarks artifact
154126 uses : actions/upload-artifact@v2
0 commit comments