Move Prometheus remote write to k6 repository #961
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Web Platform Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23.x | |
check-latest: true | |
# TODO: combine WebPlatform tests checkout & patch into the singe step | |
- name: Run Streams Tests | |
run: | | |
set -x | |
cd internal/js/modules/k6/experimental/streams/tests | |
sh checkout.sh | |
go test ../... -tags=wpt | |
- name: Run Webcrypto Tests | |
run: | | |
set -x | |
cd internal/js/modules/k6/webcrypto/tests | |
sh checkout.sh | |
go test ./... -tags=wpt |