-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(RE-15366) Migrate travis testing to GH action
- Loading branch information
1 parent
ac4435c
commit 1f61494
Showing
2 changed files
with
45 additions
and
29 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: lein_test | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths: ['src/**','test/**'] | ||
pull_request: | ||
types: [opened, reopened, edited, synchronize] | ||
paths: '*' #['src/**','test/**'] | ||
|
||
jobs: | ||
run-lein-tests: | ||
name: lein test - Java ${{ matrix.java }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: [ '11', '17' ] | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Setup java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: ${{ matrix.java }} | ||
- name: Install Clojure tools | ||
uses: DeLaGuardo/setup-clojure@10.2 | ||
with: | ||
cli: latest # Clojure CLI based on tools.deps | ||
lein: latest # Leiningen | ||
boot: latest # Boot.clj | ||
bb: latest # Babashka | ||
clj-kondo: latest # Clj-kondo | ||
cljstyle: latest # cljstyle | ||
zprint: latest # zprint | ||
- name: Run lein tests with dev profile | ||
run: lein with-profile dev test | ||
env: | ||
FIPS: false | ||
- name: Run lein tests with fips profile | ||
run: lein with-profile fips test | ||
env: | ||
FIPS: true |
This file was deleted.
Oops, something went wrong.