Skip to content

Commit

Permalink
CI need a second commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Aug 1, 2024
1 parent 2798817 commit 376b332
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/push-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,25 @@ jobs:
# Load cached venv if cache exists
# Install dependencies if cache does not exist
# ======
- name: Load cached venv
id: cached-poetry-dependencies-dev
uses: actions/cache@v4
with:
path: .venv
key: dev-${{ matrix.python-version }}-${{ matrix.poetry-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies-dev.outputs.cache-hit != 'true'
run: poetry install --no-interaction -E dev
- name: Run ASV benchmarks
# ======
# Compare benchmarks between master and PR, and fail if any get worse
# ======

- name: Setup ASV
run: |
pip install asv
cd asv_bench
asv machine --yes
asv continuous $GITHUB_BASE_REF $GITHUB_REF --strict -e --python=same
- run: git fetch origin $GITHUB_BASE_REF:base $GITHUB_REF:pr
- name: Check regression
run: |
cd asv_bench
asv continuous $GITHUB_BASE_REF $GITHUB_REF -e --python=same

0 comments on commit 376b332

Please sign in to comment.