[arvados] created: 2.7.0-6355-g942be3e7fc

git repository hosting git at public.arvados.org
Mon Apr 8 17:37:50 UTC 2024


        at  942be3e7fc2d79e76047710d8705fa6584ca3117 (commit)


commit 942be3e7fc2d79e76047710d8705fa6584ca3117
Author: Stephen Smith <stephen at curii.com>
Date:   Sun Apr 7 22:18:17 2024 -0400

    Add github test workflow
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
new file mode 100644
index 0000000000..f8224e417f
--- /dev/null
+++ b/.github/workflows/tests.yml
@@ -0,0 +1,40 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+name: Arvados Tests
+
+on:
+  workflow_dispatch:
+  pull_request:
+    branches:
+      - main
+
+jobs:
+  workbench2:
+    name: Workbench2 Tests
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout code
+        uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
+      - name: Setup buildx
+        uses: docker/setup-buildx-action at d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
+      - name: Build wb2 test container
+        uses: docker/build-push-action at 2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
+        with:
+          context: .
+          file: "services/workbench2/docker/Dockerfile"
+          tags: workbench2-test:latest
+          load: true
+          cache-from: type=gha
+          cache-to: type=gha,mode=max
+          push: false
+      - name: Run wb2 integration tests
+        uses: addnab/docker-run-action at 4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3
+        with:
+          image: workbench2-test:latest
+          options: -v ${{github.workspace}}:/usr/src/arvados -w /usr/src/arvados/services/workbench2
+          run: |
+            yarn install
+            yarn test --no-watchAll --bail --ci || exit $?
+            tools/run-integration-tests.sh -a /usr/src/arvados

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list