Run wpt only on try-wpt,try-wpt-2020 branches

This commit is contained in:
sagudev 2023-04-26 09:00:00 +02:00
parent 2ae158dec1
commit b4c465e6a2

View file

@ -102,7 +102,7 @@ jobs:
path: target.tar.gz path: target.tar.gz
linux-wpt: linux-wpt:
if: ${{ contains(github.ref_name, 'wpt') || inputs.wpt }} if: ${{ github.ref_name == 'try-wpt' || github.ref_name == 'try-wpt-2020' || inputs.wpt }}
name: Linux WPT Tests name: Linux WPT Tests
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
needs: ["build-linux"] needs: ["build-linux"]
@ -183,7 +183,7 @@ jobs:
report-test-results: report-test-results:
name: Reporting test results name: Reporting test results
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ always() && !cancelled() && success('build-linux') && (contains(github.ref_name, 'wpt') || inputs.wpt == 'test') }} if: ${{ always() && !cancelled() && success('build-linux') && (github.ref_name == 'try-wpt' || github.ref_name == 'try-wpt-2020' || inputs.wpt == 'test') }}
needs: needs:
- "linux-wpt" - "linux-wpt"
steps: steps: