Skip to content

Add playwright example #19

Add playwright example

Add playwright example #19

name: Go custom action
on:
push:
branches: [master]
paths:
- "go/**"
pull_request:
branches: [master]
paths:
- "go/**"
env:
LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_GO }}
LAUNCHABLE_DEBUG: 1
LAUNCHABLE_REPORT_ERROR: 1
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Install dependencies
run: |
go install github.com/jstemmer/go-junit-report@latest
- name: Test
run: cd go && go test -v ./... 2>&1 | go-junit-report -set-exit-code > report.xml
- name: Record
uses: launchableinc/[email protected]
with:
build_name: $GITHUB_RUN_ID
report_path: ./go
test_runner: go-test
source_path: ./go
if: always()