Use reusable workflow in all selenium workflows

This commit is contained in:
mvdbeek
2023-07-26 12:29:36 +02:00
parent 989551dddd
commit b9c07a7fb9
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -21,8 +21,11 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
setup-selenium:
uses: ./.github/workflows/setup_selenium.yaml
test:
name: Test
needs: setup-selenium
runs-on: ubuntu-latest
strategy:
matrix:
@@ -66,7 +69,6 @@ jobs:
- uses: mvdbeek/gha-yarn-cache@master
with:
yarn-lock-file: 'galaxy root/client/yarn.lock'
- uses: nanasess/setup-chromedriver@v1
- name: Run tests
run: ./run_tests.sh --coverage -integration test/integration_selenium
working-directory: 'galaxy root'
+3 -1
View File
@@ -23,8 +23,11 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
setup-selenium:
uses: ./.github/workflows/setup_selenium.yaml
test:
name: Test
needs: setup-selenium
runs-on: ubuntu-latest
strategy:
fail-fast: false
@@ -68,7 +71,6 @@ jobs:
- uses: mvdbeek/gha-yarn-cache@master
with:
yarn-lock-file: 'galaxy root/client/yarn.lock'
- uses: nanasess/setup-chromedriver@v2
- name: Run tests
run: ./run_tests.sh --coverage -selenium lib/galaxy_test/selenium -- --num-shards=3 --shard-id=${{ matrix.chunk }}
working-directory: 'galaxy root'