tests: fix async test #56
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: Run tests | |
on: | |
push: | |
branches-ignore: | |
- master | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: npm- | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- uses: s4u/[email protected] | |
with: | |
servers: | | |
[{"id": "github-kepler", | |
"username": "GITHUB", | |
"password": "${{secrets.GITHUB_TOKEN}}"}] | |
- uses: DeLaGuardo/[email protected] | |
with: | |
cli: latest | |
- name: Install dependencies | |
run: npm ci --ignore-scripts | |
- name: Test clojure | |
run: clojure -X:test | |
- name: Test cljs | |
run: clojure -M:dev:shadow-cljs release test |