Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with selfhost runner #220

Closed
wants to merge 15 commits into from
15 changes: 6 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand All @@ -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
Expand All @@ -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:
Expand Down
Loading