Skip to content

Commit

Permalink
Merge pull request #16 from lambdaisland/alys/matrix-testing-ci
Browse files Browse the repository at this point in the history
Adopt our "new" matrix-based CI config
  • Loading branch information
alysbrooks authored May 10, 2023
2 parents d863fa1 + cb30eec commit 844def5
Showing 1 changed file with 17 additions and 39 deletions.
56 changes: 17 additions & 39 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1

orbs:
kaocha: lambdaisland/[email protected]
clojure: lambdaisland/[email protected].7
clojure: lambdaisland/[email protected].8

commands:
checkout_and_run:
Expand All @@ -20,45 +20,23 @@ commands:
- kaocha/upload_codecov

jobs:
java-8-clojure-1_9:
executor: clojure/openjdk8
steps: [{checkout_and_run: {clojure_version: "1.9.0"}}]
java-8-clojure-1_10:
executor: clojure/openjdk8
steps: [{checkout_and_run: {clojure_version: "1.10.3"}}]
java-8-clojure-1_11:
executor: clojure/openjdk8
steps: [{checkout_and_run: {clojure_version: "1.11.1"}}]

java-9-clojure-1_9:
executor: clojure/openjdk9
steps: [{checkout_and_run: {clojure_version: "1.9.0"}}]
java-9-clojure-1_10:
executor: clojure/openjdk9
steps: [{checkout_and_run: {clojure_version: "1.10.3"}}]
java-9-clojure-1_11:
executor: clojure/openjdk9
steps: [{checkout_and_run: {clojure_version: "1.11.1"}}]

java-11-clojure-1_9:
executor: clojure/openjdk11
steps: [{checkout_and_run: {clojure_version: "1.9.0"}}]
java-11-clojure-1_10:
executor: clojure/openjdk11
steps: [{checkout_and_run: {clojure_version: "1.10.3"}}]
java-11-clojure-1_11:
executor: clojure/openjdk11
steps: [{checkout_and_run: {clojure_version: "1.11.1"}}]
test:
parameters:
os:
type: executor
clojure_version:
type: string
executor: << parameters.os >>
steps:
- checkout_and_run:
clojure_version: << parameters.clojure_version >>


workflows:
kaocha_test:
jobs:
- java-8-clojure-1_9
- java-8-clojure-1_10
- java-8-clojure-1_11
- java-9-clojure-1_9
- java-9-clojure-1_10
- java-9-clojure-1_11
- java-11-clojure-1_9
- java-11-clojure-1_10
- java-11-clojure-1_11
- test:
matrix:
parameters:
os: [clojure/openjdk17, clojure/openjdk11, clojure/openjdk8]
clojure_version: ["1.9.0", "1.10.3", "1.11.1"]

0 comments on commit 844def5

Please sign in to comment.