fix bug in integration tests #70
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: Clojure CI | |
on: | |
push: | |
branches: [ master, troubleshoot-github-actions ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
java: [ '8', '11', '17' ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache downloaded Mirth servers | |
uses: actions/cache@v3 | |
with: | |
path: | | |
vendor/mirths/mirthconnect-3.8.0.b2464-unix.tar.gz | |
vendor/mirths/mirthconnect-3.9.0.b2526-unix.tar.gz | |
key: ${{ runner.os }}-mirthconnect-3.8.0.b2464-unix.tar.gz-mirthconnect-3.9.0.b2526-unix.tar.gz-2 | |
- name: Cache local Maven repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-2 | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Setup java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
# Install just one or all simultaneously | |
cli: 1.10.3.822 # Clojure CLI based on tools.deps | |
lein: 2.9.6 # or use 'latest' to always provision latest version of leiningen | |
boot: 2.8.3 # or use 'latest' to always provision latest version of boot | |
- name: Start clean | |
run: lein clean | |
- name: Install dependencies | |
run: lein deps | |
- name: Run tests | |
run: lein test |