Skip to content

Commit

Permalink
.github: run itests against all types of account stores
Browse files Browse the repository at this point in the history
In this commit, we ensure that our CI runs our itests against all
available DB backends. Currently, this will only affect the accounts
store.
  • Loading branch information
ellemouton committed Jan 24, 2025
1 parent d045b84 commit 9e1bae0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,17 @@ jobs:
itest:
name: integration test
runs-on: ubuntu-latest
strategy:
# Allow other tests in the matrix to continue if one fails.
fail-fast: false
matrix:
include:
- name: bbolt
args: dbbackend=bbolt
- name: sqlite
args: dbbackend=sqlite
- name: postgres
args: dbbackend=postgres
steps:
- name: git checkout
uses: actions/checkout@v4
Expand All @@ -295,8 +306,8 @@ jobs:
working-directory: ./app
run: yarn

- name: run check
run: make itest
- name: run itest ${{ matrix.name }}
run: make itest ${{ matrix.args }}

- name: Zip log files on failure
if: ${{ failure() }}
Expand Down

0 comments on commit 9e1bae0

Please sign in to comment.