Skip to content

Commit 49e407e

Browse files
committed
.github: run itests against all types of account stores
In this commit, we ensure that our CI runs our itests against all available DB backends. Currently, this will only affect the accounts store.
1 parent 6726824 commit 49e407e

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,17 @@ jobs:
232232
itest:
233233
name: integration test
234234
runs-on: ubuntu-latest
235+
strategy:
236+
# Allow other tests in the matrix to continue if one fails.
237+
fail-fast: false
238+
matrix:
239+
include:
240+
- name: bbolt
241+
args: dbbackend=bbolt
242+
- name: sqlite
243+
args: dbbackend=sqlite
244+
- name: postgres
245+
args: dbbackend=postgres
235246
steps:
236247
- name: git checkout
237248
uses: actions/checkout@v3
@@ -252,8 +263,8 @@ jobs:
252263
working-directory: ./app
253264
run: yarn
254265

255-
- name: run check
256-
run: make itest
266+
- name: run itest ${{ matrix.name }}
267+
run: make itest ${{ matrix.args }}
257268

258269
- name: Zip log files on failure
259270
if: ${{ failure() }}

0 commit comments

Comments
 (0)