Skip to content

Commit

Permalink
Run e2e tests on windows gotip
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov authored and olegbespalov committed Dec 16, 2024
1 parent d2d5ff2 commit dff1134
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/browser_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,19 @@ defaults:
jobs:
test:
strategy:
fail-fast: false
matrix:
go: [stable, tip]
platform: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
if: matrix.go != 'tip' || matrix.platform != 'windows-latest'
uses: actions/checkout@v4
- name: Install Go
if: matrix.go != 'tip' || matrix.platform != 'windows-latest'
uses: actions/setup-go@v5
with:
go-version: 1.x
- name: Install Go tip
if: matrix.go == 'tip' && matrix.platform != 'windows-latest'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand All @@ -42,15 +40,13 @@ jobs:
echo "$HOME/go/bin" >> "$GITHUB_PATH"
echo "$HOME/sdk/gotip/bin" >> "$GITHUB_PATH"
- name: Build k6
if: matrix.go != 'tip' || matrix.platform != 'windows-latest'
run: |
which go
go version
go build .
./k6 version
- name: Run E2E tests
if: matrix.go != 'tip' || matrix.platform != 'windows-latest'
run: |
set -x
if [ "$RUNNER_OS" == "Linux" ]; then
Expand All @@ -65,6 +61,5 @@ jobs:
./k6 run -q "$f"
done
- name: Check screenshot
if: matrix.go != 'tip' || matrix.platform != 'windows-latest'
# TODO: Do something more sophisticated?
run: test -s screenshot.png

0 comments on commit dff1134

Please sign in to comment.