You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run: docker compose -f docker-compose.yml -f docker-compose.ci.yml run --rm api python -m pytest --integration
71
69
72
-
- name: BDD Integration tests
70
+
- name: "Run: Integration tests (behave)"
73
71
if: ${{ false }} # disable for now
74
72
run: docker compose -f docker-compose.yml -f docker-compose.ci.yml run api behave
75
73
76
74
web-tests:
77
75
runs-on: ubuntu-latest
76
+
# if: ${{ false }} # disable for now as they do not currently work
78
77
steps:
79
-
- uses: actions/checkout@v4
78
+
- name: "Setup: checkout repository"
79
+
uses: actions/checkout@v4
80
80
81
-
- name: "Login to GitHub Container Registry"
82
-
uses: docker/login-action@v3
81
+
- name: "Setup: Build web image"
82
+
uses: docker/build-push-action@v6
83
83
with:
84
-
registry: ${{ env.REGISTRY }}
85
-
username: ${{ github.actor }}
86
-
password: ${{ secrets.GITHUB_TOKEN }}
87
-
88
-
- name: Build Web Image
89
-
run: |
90
-
docker pull ${REGISTRY}/${WEB_IMAGE_PATH}
91
-
docker build --cache-from ${REGISTRY}/${WEB_IMAGE_PATH} --target development --tag web-dev ./web
84
+
context: ./web
85
+
target: development
86
+
load: true
87
+
tags: web:dev
92
88
93
-
- name: Run Web tests
94
-
if: ${{ false }} # disable for now as they do not currently work
89
+
- name: "Run: Web tests"
95
90
run: docker compose -f docker-compose.yml -f docker-compose.ci.yml run --rm web yarn test
96
91
97
92
docs-tests:
98
93
name: test-docs
99
94
runs-on: ubuntu-latest
100
-
95
+
defaults:
96
+
run:
97
+
working-directory: ./documentation
101
98
steps:
102
99
# 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.
103
-
- name: Checkout GitHub Action
100
+
- name: "Setup: checkout repository"
104
101
uses: actions/checkout@v4
105
102
# with:
106
103
# fetch-depth: 0
@@ -110,17 +107,20 @@ jobs:
110
107
# shell: bash
111
108
# run: echo "changes=$(git diff --name-only $(git merge-base HEAD origin/main) HEAD | grep documentation/ | wc -l)" >> $GITHUB_OUTPUT
0 commit comments