Merge pull request #3 from ShaneMcKeon/master #203
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: Test Clojurescript Task | |
on: [push] | |
jobs: | |
clojure: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Prepare java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.10.3.1075 # Clojure CLI based on tools.deps | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
- name: Install Chrome | |
uses: browser-actions/setup-chrome@latest | |
- name: Run Unit tests | |
run: | | |
export DISPLAY=:0 | |
Xvfb -ac :0 & | |
npm install ws | |
chrome --no-first-run & | |
make test # JVM will take longer to load than chrome |