Skip to content

Commit 0caf81e

Browse files
committed
ci: update tests action
1 parent 66f7545 commit 0caf81e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
steps:
4545
- uses: actions/checkout@master
4646

47-
- name: "Login to image registry"
47+
- name: Login to image registry
4848
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login $IMAGE_REGISTRY -u $GITHUB_ACTOR --password-stdin
4949

5050
- name: Build API image
@@ -64,21 +64,25 @@ jobs:
6464
steps:
6565
- uses: actions/checkout@master
6666

67-
- name: "Login to image registry"
67+
- name: Login to image registry
6868
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login $IMAGE_REGISTRY -u $GITHUB_ACTOR --password-stdin
6969

7070
- name: Build Web Image
7171
run: |
7272
docker pull $WEB_IMAGE
7373
docker build --cache-from $WEB_IMAGE --target development --tag web-dev ./web
7474
75+
- name: Run Web tests
76+
if: ${{ false }} # disable for now as they do not currently work
77+
run: docker compose -f docker-compose.yml -f docker-compose.ci.yml run --rm web yarn test
78+
7579
test-docs:
7680
name: test-docs
7781
runs-on: ubuntu-latest
7882

7983
steps:
8084
# If you know your docs does not rely on anything outside of the documentation folder, the commented out code below can be used to only test the docs build if the documentation folder changes.
81-
- name: "Checkout GitHub Action"
85+
- name: Checkout GitHub Action
8286
uses: actions/checkout@main
8387
# with:
8488
# fetch-depth: 0
@@ -88,7 +92,7 @@ jobs:
8892
# shell: bash
8993
# run: echo "changes=$(git diff --name-only $(git merge-base HEAD origin/main) HEAD | grep documentation/ | wc -l)" >> $GITHUB_OUTPUT
9094

91-
- name: "Setup node"
95+
- name: Setup node
9296
# if: steps.docs-changes.outputs.changes > 0
9397
uses: actions/setup-node@v3
9498
with:

0 commit comments

Comments
 (0)