Script updates #192
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 Math | |
on: | |
push: | |
branches: ["dev", "504-clj-tests"] | |
# Note: Only configured for client-admin right now. | |
paths: | |
- .github/workflows/test-clojure.yml | |
- math/** | |
pull_request: | |
types: ["opened", "reopened", "synchronize"] | |
paths: | |
- .github/workflows/test-clojure.yml | |
- math/** | |
jobs: | |
test-clj: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Prepare java | |
uses: actions/[email protected] | |
with: | |
distribution: adopt | |
java-version: 16.0.2 | |
- name: Install Clojure tooling | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.10.1.693 | |
- name: Run Clojure tests | |
working-directory: math | |
# Runs all except integration tests which require database and setup/teardown | |
run: "clojure -M:test" |