update playground #428
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: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest] # windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: "Checkout code" | |
uses: "actions/checkout@v2" | |
with: | |
submodules: true | |
- name: Prepare java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: "adopt" | |
java-version: 11 | |
- name: "Restore Cache" | |
uses: "actions/cache@v1" | |
with: | |
path: "~/.m2/repository" | |
key: "${{ runner.os }}-deps-${{ hashFiles('deps.edn') }}" | |
restore-keys: "${{ runner.os }}-deps-" | |
- name: Setup Clojure | |
uses: DeLaGuardo/setup-clojure@9.3 | |
with: | |
cli: latest | |
bb: latest | |
- name: Run tests | |
run: | | |
bb test | |
bb integration-tests |