Skip to content

Commit

Permalink
Trying to set a better job name
Browse files Browse the repository at this point in the history
  • Loading branch information
grantnelson-wf committed Jul 11, 2024
1 parent 4ee3d5a commit f2811ea
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,15 @@ jobs:
<(sed 's/todomvc_gopath.js.map/todomvc_ignored.js.map/' /tmp/todomvc_gopath.js)
gopherjs_tests:
name: GopherJS Tests
name: GopherJS Tests (${{matrix.filter.name}})
runs-on: ubuntu-latest
strategy:
matrix:
filter: [ "^(?!crypto)", "^crypto"]
filter:
- name: "Not Crypto"
pattern: "^(?!crypto)"
- name: "Cypto"
pattern: "^crypto"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -194,9 +198,9 @@ jobs:
PACKAGE_NAMES=$( \
GOOS=js GOARCH=wasm go list std github.com/gopherjs/gopherjs/js/... github.com/gopherjs/gopherjs/tests/... \
| grep -v -x -f .std_test_pkg_exclusions \
| grep -Pe "${{matrix.filter}}" \
| grep -Pe "${{matrix.filter.pattrn}}" \
)
echo "Running tests for packages: $PACKAGE_NAMES"
echo "Running tests for packages: $PACKAGE_NAMES" | tr '\n' ',' | sed 's/,$//' | fold -s
gopherjs test -p 2 --minify -v --short $PACKAGE_NAMES
gorepo_tests:
Expand Down

0 comments on commit f2811ea

Please sign in to comment.