Use master-SNAPSHOT of metafacture-core to provide newest feature #319
Workflow file for this run
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/Clojurescript Tests | |
on: | |
push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Checkout metafacture-core | |
uses: actions/checkout@v2 | |
with: | |
path: metafacture-core | |
repository: metafacture/metafacture-core | |
ref: metafacture-core-6.0.0 | |
- name: Install metafacture-core | |
working-directory: metafacture-core | |
run: ./gradlew install | |
- name: Checkout metafacture-fix | |
uses: actions/checkout@v2 | |
with: | |
path: metafacture-fix | |
repository: metafacture/metafacture-fix | |
ref: 1.0.0 | |
- name: Install metafacture-fix | |
working-directory: metafacture-fix | |
run: ./gradlew install | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
- name: Install karma and headless chrome | |
run: | | |
npm install -g karma-cli | |
export CHROME_BIN='/usr/bin/chromium-browser' | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: lein deps | |
- name: Run clojure tests | |
run: lein test | |
- name: Run clojurescript tests | |
run: | | |
lein shadow release karma-test | |
karma start --single-run |