forked from alexandru-slobodcicov/liquibase-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 47
31 lines (25 loc) · 971 Bytes
/
build-nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This workflow will build the extension against the latest Liquibase artifact
name: "Nightly build"
on:
workflow_dispatch:
schedule:
- cron: '0 7 * * 1-5'
jobs:
nightly-build:
uses: liquibase/build-logic/.github/workflows/[email protected]
with:
nightly: true
secrets: inherit
mongo-atlas-tests:
name: MongoDB Atlas 7 Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Harness Foundational Test Suite Run on Atlas 7
run: mvn -Dtest="HarnessNoSqlCompatibility" -DconfigFile=/harness-config-cloud.yml -DdbName=mongodb -DdbUsername=${{secrets.TH_DB_ADMIN}} -DdbPassword=${{secrets.TH_DB_PASSWD}} -DdbUrl='${{secrets.TH_MONGO_ATLAS_URL}}' clean package
- name: Archive Mongo Atlas Test Results
uses: actions/upload-artifact@v4
with:
name: mongodb-test-results
path: build/spock-reports