Skip to content

Commit

Permalink
#216 e2e build
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Jul 25, 2023
1 parent 69cdb68 commit 9d9bafc
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,20 @@ jobs:
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@v1.3.0

- name: Install JS deps
working-directory: ./browser/
run: |
pnpm install
pnpm run install-playwright
- uses: actions-rs/cargo@v1
with:
command: build
args: --locked
- run: nohup ./target/debug/atomic-server &
- name: Setup and run end-to-end tests
working-directory: ./server/e2e_tests/
run: |
pnpm install
pnpm run install-playwright
pnpm run test
- name: Run end-to-end tests
working-directory: ./browser/
run: pnpm run test
- name: Upload test artifacts
uses: actions/upload-artifact@v3
if: failure()
Expand Down

0 comments on commit 9d9bafc

Please sign in to comment.