From a8821905e346343439964749c369b5c0d89a122c Mon Sep 17 00:00:00 2001 From: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com> Date: Tue, 12 Mar 2024 16:54:32 -0400 Subject: [PATCH] Test failure --- .github/workflows/solidity.yml | 4 +++- src/{test.rs => lib.rs} | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) rename src/{test.rs => lib.rs} (82%) diff --git a/.github/workflows/solidity.yml b/.github/workflows/solidity.yml index f7228c1..6630d12 100644 --- a/.github/workflows/solidity.yml +++ b/.github/workflows/solidity.yml @@ -21,6 +21,7 @@ jobs: solidity-compat: runs-on: buildjet-16vcpu-ubuntu-2204 steps: + - run: echo ${{ github.action }} - uses: actions/checkout@v4 with: repository: lurk-lab/ci-workflows @@ -39,7 +40,8 @@ jobs: id: commit if: steps.solidity-test.outcome != 'success' run: | - if [[ -s ${{ github.event.pull_request }} ]]; then + echo ${{ github.event.action }} + if [[ ${{ github.event.action }} == "pull-request" ]]; then SHA=${{ github.event.pull_request.head_sha }} else SHA=${{ github.event.merge_group.head_sha }} diff --git a/src/test.rs b/src/lib.rs similarity index 82% rename from src/test.rs rename to src/lib.rs index df6664b..0dd6a4e 100644 --- a/src/test.rs +++ b/src/lib.rs @@ -3,6 +3,6 @@ mod test { #[ignore] #[test] fn test_solidity_compatibility_ipa() { - assert!(true) + panic!() } }