Skip to content

Commit

Permalink
fix equivalence tests
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcervante committed Nov 18, 2024
1 parent 449aa90 commit a80f879
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/equivalence-test-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- synchronize
- ready_for_review
- reopened
- synchronize

permissions:
contents: read
Expand Down Expand Up @@ -35,7 +34,7 @@ jobs:
shell: bash
run: |
./.github/scripts/equivalence-test.sh download_equivalence_test_binary \
0.3.0 \
0.4.0 \
./bin/equivalence-tests \
linux \
amd64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/equivalence-test-manual-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ on:
required: true
equivalence-test-version:
type: string
description: 'Equivalence testing framework version to use (no v prefix, eg. 0.3.0).'
default: "0.3.0"
description: 'Equivalence testing framework version to use (no v prefix, eg. 0.4.0).'
default: "0.4.0"
required: true

permissions:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/equivalence-test-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
- name: target_branch
id: target_branch
run: |
merged = ${{ github.event.pull_request.merged }}
target_branch = ${{ github.event.pull_request.base.ref }}
merged="${{ github.event.pull_request.merged }}"
target_branch="${{ github.event.pull_request.base.ref }}"
targets_release_branch = false
targets_release_branch=false
if [ "$target_branch" == "main" ]; then
targets_release_branch = true
targets_release_branch=true
elif [ "$target_branch" =~ ^v[0-9]+\.[0-9]+$ ]; then
targets_release_branch = true
targets_release_branch=true
fi
should_run=false
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

- uses: ./.github/actions/equivalence-test
with:
target-equivalence-test-version: ${{ inputs.equivalence-test-version }}
target-equivalence-test-version: 0.4.0
target-os: linux
target-arch: amd64
current-branch: ${{ github.event.pull_request.base.ref }}
Expand Down

0 comments on commit a80f879

Please sign in to comment.