Skip to content

Commit

Permalink
fix(test): add deps on ci
Browse files Browse the repository at this point in the history
adjust test
  • Loading branch information
duncdrum committed Dec 18, 2023
1 parent 246b8ba commit 2accb0b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
fail-fast: false
matrix:
# 7.0.0-SNAPSHOT and 6.2.1 created
exist-version: [5.3.0, latest, release]
exist-version: [5.3.1, latest, release]
java-version: [11, 17]
exclude:
- exist-version: 5.3.0
- exist-version: 5.3.1
java-version: 17
- exist-version: release
java-version: 17
Expand Down Expand Up @@ -46,6 +46,13 @@ jobs:
java-version: ${{ matrix.java-version }}
- run: ant

# TODO(DP): temporary solution
- name: Install expath dependencies
working-directory: build
run: |
wget -O 01.xar http://exist-db.org/exist/apps/public-repo/public/functx-1.0.1.xar
wget -O 02.xar https://github.com/eXist-db/expath-crypto-module/releases/download/6.0.1/expath-crypto-module-6.0.1.xar
# Install
- name: Start exist-ci containers
run: |
Expand Down
2 changes: 1 addition & 1 deletion test/smoke-test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

# Make sure the package has been deployed
@test "logs show package deployment" {
result=$(docker logs exist | grep -o 'http://history.state.gov/ns/pkg/aws.xq')
result=$(docker logs exist | grep -o -m 1 'http://history.state.gov/ns/pkg/aws.xq')
[ "$result" == 'http://history.state.gov/ns/pkg/aws.xq' ]
}

Expand Down

0 comments on commit 2accb0b

Please sign in to comment.