Skip to content

Commit

Permalink
Fix upload path of test262 workflow artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeom committed Aug 29, 2024
1 parent c809c3f commit 5e4cb71
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test262.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
env:
TERM: screen-256color
OCAML_COMPILER: 4.14
RESULTS_FILE: results-test262_${{ github.sha }}.txt
SLACK_WEBHOOK_URL: ${{ vars.SLACK_WEBHOOK_URL }}

strategy:
fail-fast: false
Expand Down Expand Up @@ -37,10 +39,10 @@ jobs:
# The workflow should succeed even if `test` has nonzero return code
continue-on-error: true
run: |
opam exec -- dune exec -- ecma-sl test --type test262 test/test262/tests/ --webhook-url "$SLACK_WEBHOOK_URL" > results-test262_${{ github.sha }}.txt
opam exec -- dune exec -- ecma-sl test --type test262 test/test262/tests --webhook-url "$SLACK_WEBHOOK_URL" > ${{ env.RESULTS_FILE }}
- name: Upload Results
uses: actions/upload-artifact@v4
with:
name: test262-results
path: test262-results.txt
name: results-test262
path: ${{ env.RESULTS_FILE }}
1 change: 1 addition & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
lwt
menhir
menhirLib
tls-lwt
yojson
conf-npm
(smtml (>= 0.0.4))
Expand Down
1 change: 1 addition & 0 deletions ecma-sl.opam
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ depends: [
"lwt"
"menhir"
"menhirLib"
"tls-lwt"
"yojson"
"conf-npm"
"smtml" {>= "0.0.4"}
Expand Down

0 comments on commit 5e4cb71

Please sign in to comment.