[Work in Progress DO NOT MERGE] Port math library from clojure to python #217
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: 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/checkout@v4 | |
- name: Prepare java | |
uses: actions/setup-java@v4 | |
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 with coverage | |
working-directory: math | |
# Runs all except integration tests which require database and setup/teardown | |
run: "clojure -M:test --coverage" | |
- name: Upload coverage reports | |
uses: actions/upload-artifact@v3 | |
with: | |
name: coverage-report | |
path: math/target/coverage |