Skip to content

Commit

Permalink
GH action for e2e tests (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Jul 17, 2024
1 parent 1d1556a commit 2a14bcd
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This configuration is based on documentation here:
# https://github.com/stateful/vscode-awesome-ux/blob/main/docs/TestingExtensions.md#run-tests-in-cicd
name: End-to-end Tests
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
# Not sure why this is targetting macos, just following the link referenced above
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- run: yarn
- run: yarn build
- name: Run tests
uses: GabrielBB/[email protected]
with:
run: npx wdio run ./e2e/wdio.conf.ts

0 comments on commit 2a14bcd

Please sign in to comment.