Snapshots development #22
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] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
# Tests emitting XML fail on Windows because of '\r\n' line endings | |
# os: [ubuntu-latest, macOS-latest, windows-latest] | |
os: [ubuntu-latest, macOS-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Prepare java | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Install clojure tools-deps | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.11.2.1446 | |
- name: Execute tests on Linux and MacOS | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: clojure -X:test | |
shell: bash | |
- name: Execute tests on Windows | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: clojure -X:test | |
shell: powershell | |