diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 014c666a17084..104fad09e0472 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,7 @@ jobs: shell: bash -l {0} steps: + - name: Checkout uses: actions/checkout@v1 @@ -68,6 +69,34 @@ jobs: run: pytest --capture=no --strict-markers scripts if: always() + benchmarks: + name: Benchmarks + runs-on: ubuntu-latest + defaults: + run: + shell: bash -l {0} + + steps: + + - name: Checkout + uses: actions/checkout@v1 + + - name: Cache conda + uses: actions/cache@v2 + with: + path: ~/conda_pkgs_dir + key: ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }} + + - uses: conda-incubator/setup-miniconda@v2 + with: + activate-environment: pandas-dev + channel-priority: strict + environment-file: ${{ env.ENV_FILE }} + use-only-tar-bz2: true + + - name: Build Pandas + uses: ./.github/actions/build_pandas + - name: Running benchmarks run: | cd asv_bench