ci: add e2e browser test job to GitHub Actions
This commit is contained in:
parent
104ebb410a
commit
034630ade0
1 changed files with 22 additions and 0 deletions
22
.github/workflows/push.yml
vendored
22
.github/workflows/push.yml
vendored
|
|
@ -53,3 +53,25 @@ jobs:
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
nix develop --command cargo test -- --show-output
|
nix develop --command cargo test -- --show-output
|
||||||
|
|
||||||
|
e2e:
|
||||||
|
name: E2E Tests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out code
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Install nix
|
||||||
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
|
||||||
|
- name: Setup Nix cache
|
||||||
|
uses: nix-community/cache-nix-action@main
|
||||||
|
with:
|
||||||
|
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
|
||||||
|
restore-prefixes-first-match: nix-${{ runner.os }}-
|
||||||
|
|
||||||
|
- name: Run E2E tests
|
||||||
|
run: |
|
||||||
|
nix develop -c cargo test --features e2e --test e2e -- --show-output
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue