Browse Source

Fix tests results upload (#3635)

* Fix tests results upload

* Checkout before and after running tests

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

Loading…
Cancel
Save