Force versions in attempt to address conflicts and compilation issues. #123
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run integration tests | |
on: push | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
max-parallel: 2 | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
distribution: zulu | |
cache: gradle | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 'lts/*' | |
- name: Pull config | |
run: git submodule update --init --recursive | |
- name: Ensure test resource directory exists | |
run: mkdir ./integration-tests/test-app/src/main/resources/ | |
shell: bash | |
- name: Decrypt Firebase service account key | |
run: ./config/scripts/decrypt.sh "$FIREBASE_SA_KEY" ./.github/keys/firebase-sa.json.gpg ./integration-tests/test-app/src/main/resources/spine-dev.json | |
shell: bash | |
env: | |
FIREBASE_SA_KEY: ${{ secrets.FIREBASE_SA_KEY }} | |
- name: Build project and run tests | |
shell: bash | |
run: ./gradlew integrationTest --stacktrace |