1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
15 name: Workbench2 Tests
16 runs-on: ubuntu-latest
19 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
21 uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
22 - name: Build wb2 test container
23 uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
26 file: "services/workbench2/docker/Dockerfile"
27 tags: workbench2-test:latest
30 cache-to: type=gha,mode=max
32 - name: Run wb2 integration tests
33 uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3
35 image: workbench2-test:latest
36 options: -v ${{github.workspace}}:/usr/src/arvados -w /usr/src/arvados/services/workbench2
39 yarn test --no-watchAll --bail --ci || exit $?
40 tools/run-integration-tests.sh -a /usr/src/arvados