From e9504333dcb25c3f9bd1344743a0e12e7719ab2e Mon Sep 17 00:00:00 2001 From: just-mitch <68168980+just-mitch@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:45:12 -0600 Subject: [PATCH] chore: run noir projects tests in earthly (#6024) noir project tests are now run as part of github actions as earthly targets --- .github/workflows/ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa73e81326b..f575342f2fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,6 +100,22 @@ jobs: # limit our parallelism to half our cores run: earthly --no-output +test --hardware_concurrency=64 + noir-projects: + needs: setup + runs-on: ${{ inputs.username || github.actor }}-x86 + steps: + - { + uses: actions/checkout@v4, + with: { ref: "${{ github.event.pull_request.head.sha }}" }, + } + - uses: ./.github/ci-setup-action + with: + dockerhub_password: "${{ secrets.DOCKERHUB_PASSWORD }}" + concurrency_key: noir-projects-${{ inputs.username || github.actor }}-x86 + - name: "Noir Projects" + timeout-minutes: 25 + run: earthly --no-output ./noir-projects/+test + yarn-project-formatting: needs: setup runs-on: ${{ github.actor }}-x86 @@ -118,7 +134,7 @@ jobs: run: earthly --no-output ./yarn-project/+format-check yarn-project-test: - needs: setup + needs: noir-projects runs-on: ${{ github.actor }}-x86 steps: - {