From 101badb8f9c94dfa45ad8794ae79dc3c87be895b Mon Sep 17 00:00:00 2001 From: Gabriel-Trintinalia Date: Wed, 10 Apr 2024 12:56:17 -0300 Subject: [PATCH] feature: disable arithmetization tests Signed-off-by: Gabriel-Trintinalia --- .github/workflows/gradle.yml | 25 ------------------------- gradle/tests.gradle | 3 ++- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 39941026..02d20dc1 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -102,15 +102,8 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: webfactory/ssh-agent@v0.7.0 - with: - ssh-private-key: | - ${{ secrets.CONSTRAINTS_SSH_KEY }} - - name: Checkout repository uses: actions/checkout@v3 - with: - submodules: recursive - name: Set up JDK 17 uses: actions/setup-java@v3 @@ -118,24 +111,6 @@ jobs: java-version: '17' distribution: 'adopt' - # The asset URL for the latest release can be found with: - # curl -L -H "Accept: application/vnd.github+json" \ - # -H "Authorization: Bearer YOUR_GH_API_TOKEN" \ - # -H "X-GitHub-Api-Version: 2022-11-28" \ - # https://api.github.com/repos/ConsenSys/corset/releases/latest - # | jq '.assets[] | select(.name|endswith("x86_64-unknown-linux-musl.tar.gz")) | .url' - - name: Install Corset - run: | - curl -L \ - -H "Accept: application/octet-stream" \ - -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - -o corset.tar.gz \ - https://api.github.com/repos/Consensys/corset/releases/assets/147491099 - tar xzf corset.tar.gz - mv corset $HOME - echo $HOME >> $GITHUB_PATH - - name: Run unit tests run: ./gradlew :arithmetization:test env: diff --git a/gradle/tests.gradle b/gradle/tests.gradle index 98a5a596..0e973c9c 100644 --- a/gradle/tests.gradle +++ b/gradle/tests.gradle @@ -63,7 +63,7 @@ test { useJUnitPlatform() } -tasks.test.dependsOn(buildZkevmBin) +//tasks.test.dependsOn(buildZkevmBin) tasks.register('unitTests', Test) { description = 'Runs unit tests.' @@ -79,4 +79,5 @@ tasks.register('unitTests', Test) { test { exclude('**/**ReferenceTest*') + exclude '**/net/consensys/linea/zktracer/**' }