add warn-on-reflection binding in compile-clj example #155
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: | |
java-version: ["11", "17", "21"] | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Prepare java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "adopt" | |
java-version: ${{ matrix.java-version }} | |
- name: Setup Clojure | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: latest | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run tests not Windows | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: clojure -X:test | |
shell: bash | |
- name: Run tests on Windows | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: clojure -X:test | |
shell: powershell |