diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 320a440e..5ed01a03 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,10 +9,8 @@ on: jobs: test-python: - - # Reserved multicore instance for running tests runs-on: - group: Beefy runners + group: selfhost # Only run the action for the latest push # See https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow @@ -27,7 +25,7 @@ jobs: with: submodules: true - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 16 cache: 'npm' @@ -37,11 +35,12 @@ jobs: # We need version 7 to be exact. - name: Install pnpm run: | + SHELL="/bin/bash" curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=7.27.1 sh - - PNPM_HOME="/home/runner/.local/share/pnpm" - # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path + PNPM_HOME="$HOME/.local/share/pnpm" echo $PNPM_HOME >> $GITHUB_PATH - + - name: Add pipx to PATH + run: echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Install poetry run: pipx install poetry - name: Set up Python 3.12 @@ -53,8 +52,6 @@ jobs: run: | poetry env use '3.12' poetry install --all-extras - - name: Install Ganache - run: yarn global add ganache - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: