Skip to content

Commit

Permalink
chore: use self-hosted runner for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elsirion committed Oct 22, 2024
1 parent d1ad74c commit d376a68
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,25 @@ jobs:

test:
name: Test
runs-on: ubuntu-latest
runs-on: [self-hosted, linux]
timeout-minutes: 30

steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install-deps

- name: Setup Nix
uses: ./.github/actions/setup-nix
with:
cachix_auth_token: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Setup Nix shell and run commands
run: |
nix develop --command bash << EOF
# Install dependencies
pnpm install
- name: Setup Playwright
run: pnpm exec playwright install
# Setup Playwright
pnpm exec playwright install
- name: Run Tests
run: nix develop -c pnpm test
# Run Tests
pnpm test
EOF
build-docs:
name: Build Docs
Expand Down
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
fedimint.packages.${system}.devimint
fedimint.packages.${system}.gateway-pkgs
fedimint.packages.${system}.fedimint-pkgs
pkgs.pnpm
pkgs.nodejs_20
] ++ prev.nativeBuildInputs;
});
};
Expand Down

0 comments on commit d376a68

Please sign in to comment.