Browse Source

Fix tests results upload (#3635)

* Fix tests results upload

* Checkout before and after running tests

* Add condition
pull/3636/head
raskad 11 months ago committed by GitHub
parent
commit
b789ddfc43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      .github/workflows/test262.yml

8
.github/workflows/test262.yml

@ -37,13 +37,13 @@ jobs:
~/.cargo/registry
key: ${{ runner.os }}-cargo-test262-${{ hashFiles('**/Cargo.lock') }}
# Run the test suite and upload the results
- name: Checkout GitHub pages
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
# Run the test suite.
- name: Run the test262 test suite
run: |
cd boa
@ -100,6 +100,12 @@ jobs:
${{ steps.compare.outputs.comment }}
# Commit changes to GitHub pages.
- name: Checkout GitHub pages
if: github.event_name == 'push'
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
- name: Commit files
if: github.event_name == 'push'
run: |

Loading…
Cancel
Save