From 26daeb5a34e0917e143a5a99dd194d93e0cc7769 Mon Sep 17 00:00:00 2001 From: JarrodCTaylor Date: Mon, 16 Dec 2024 13:38:03 -0600 Subject: [PATCH] Move contrib repos into contrib tests --- .github/workflows/test-against-contrib.yml | 91 +++++++++++++++++++ .github/workflows/test-all-the-things.yml | 80 ---------------- .../workflows/test-intermittent-failure.yml | 33 +++++++ 3 files changed, 124 insertions(+), 80 deletions(-) create mode 100644 .github/workflows/test-intermittent-failure.yml diff --git a/.github/workflows/test-against-contrib.yml b/.github/workflows/test-against-contrib.yml index d902245..09654f2 100644 --- a/.github/workflows/test-against-contrib.yml +++ b/.github/workflows/test-against-contrib.yml @@ -279,3 +279,94 @@ jobs: clojureRef: ${{ inputs.clojureRef }} subjectRepo: 'clojure/tools.trace' subjectRef: 'master' + + test-java-jdbc: + uses: ./.github/workflows/mvn-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clojure/java.jdbc' + subjectRef: 'master' + + test-core-async: + uses: ./.github/workflows/mvn-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clojure/core.async' + subjectRef: 'master' + + test-core-contracts: + uses: ./.github/workflows/mvn-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clojure/core.contracts' + subjectRef: 'master' + + test-core-unify: + uses: ./.github/workflows/mvn-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clojure/core.unify' + subjectRef: 'master' + + test-data-codec: + uses: ./.github/workflows/mvn-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clojure/data.codec' + subjectRef: 'master' + + test-data-finger-tree: + uses: ./.github/workflows/mvn-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clojure/data.finger-tree' + subjectRef: 'master' + + test-spec-alpha: + uses: ./.github/workflows/mvn-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clojure/spec.alpha' + subjectRef: 'master' + + test-tools-deps-graph: + uses: ./.github/workflows/mvn-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clojure/tools.deps.graph' + subjectRef: 'master' + + test-tools-namespace: + uses: ./.github/workflows/mvn-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clojure/tools.namespace' + subjectRef: 'master' + + test-clojurescript: + uses: ./.github/workflows/deps-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + testCmd: '-M:compiler.test:compiler.test.run' + testDir: '.' + subjectRepo: 'clojure/clojurescript' + subjectRef: 'master' + javaVersion: '["11", "17", "21"]' + + test-spec-alpha2: + uses: ./.github/workflows/mvn-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clojure/spec-alpha2' + subjectRef: 'master' diff --git a/.github/workflows/test-all-the-things.yml b/.github/workflows/test-all-the-things.yml index 5d10300..bd90869 100644 --- a/.github/workflows/test-all-the-things.yml +++ b/.github/workflows/test-all-the-things.yml @@ -13,13 +13,6 @@ on: default: 'master' jobs: - test-java-jdbc: - uses: ./.github/workflows/mvn-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - subjectRepo: 'clojure/java.jdbc' - subjectRef: 'master' test-transit-clj: uses: ./.github/workflows/mvn-test.yml with: @@ -856,79 +849,6 @@ jobs: clojureRef: ${{ inputs.clojureRef }} subjectRepo: 'clj-commons/potemkin' subjectRef: 'master' - test-core-async: - uses: ./.github/workflows/mvn-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - subjectRepo: 'clojure/core.async' - subjectRef: 'master' - test-core-contracts: - uses: ./.github/workflows/mvn-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - subjectRepo: 'clojure/core.contracts' - subjectRef: 'master' - test-core-unify: - uses: ./.github/workflows/mvn-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - subjectRepo: 'clojure/core.unify' - subjectRef: 'master' - test-data-codec: - uses: ./.github/workflows/mvn-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - subjectRepo: 'clojure/data.codec' - subjectRef: 'master' - test-data-finger-tree: - uses: ./.github/workflows/mvn-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - subjectRepo: 'clojure/data.finger-tree' - subjectRef: 'master' - test-spec-alpha: - uses: ./.github/workflows/mvn-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - subjectRepo: 'clojure/spec.alpha' - subjectRef: 'master' - test-tools-deps-graph: - uses: ./.github/workflows/mvn-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - subjectRepo: 'clojure/tools.deps.graph' - subjectRef: 'master' - test-tools-namespace: - uses: ./.github/workflows/mvn-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - subjectRepo: 'clojure/tools.namespace' - subjectRef: 'master' - test-clojurescript: - uses: ./.github/workflows/deps-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - testCmd: '-M:compiler.test:compiler.test.run' - testDir: '.' - subjectRepo: 'clojure/clojurescript' - subjectRef: 'master' - javaVersion: '["11", "17", "21"]' - test-spec-alpha2: - uses: ./.github/workflows/mvn-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - subjectRepo: 'clojure/spec-alpha2' - subjectRef: 'master' test-byte-transforms: uses: ./.github/workflows/lein-test.yml with: diff --git a/.github/workflows/test-intermittent-failure.yml b/.github/workflows/test-intermittent-failure.yml new file mode 100644 index 0000000..26fd22c --- /dev/null +++ b/.github/workflows/test-intermittent-failure.yml @@ -0,0 +1,33 @@ +name: Test Intermittent Failures + +# Repositories found here were intermittently failing +on: + workflow_dispatch: + inputs: + clojureRepo: + description: "Repository name with owner." + required: true + default: 'clojure/clojure' + clojureRef: + description: "The branch, tag or SHA to checkout" + required: true + default: 'master' + +jobs: + test-scicloj-metamorph-ml: + uses: ./.github/workflows/deps-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'scicloj/metamorph.ml' + subjectRef: 'main' + testDir: '.' + testCmd: '-A:test -m kaocha.runner' + javaVersion: '["11", "17", "21"]' + test-clj-commons-manifold: + uses: ./.github/workflows/lein-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clj-commons/manifold' + subjectRef: 'master'