Skip to content

Commit

Permalink
added testing against contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrodCTaylor committed Feb 27, 2024
1 parent c8db54f commit 7472f09
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 29 deletions.
104 changes: 104 additions & 0 deletions .github/workflows/test-against-contrib-and-nu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
name: Test Against Contrib and Nu

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-core-cache:
uses: ./.github/workflows/test-mvn-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojure/core.cache'
subjectRef: 'master'

test-core-logic:
uses: ./.github/workflows/test-mvn-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojure/core.logic'
subjectRef: 'master'

test-core-match:
uses: ./.github/workflows/test-mvn-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojure/core.match'
subjectRef: 'master'

test-core-memoize:
uses: ./.github/workflows/test-mvn-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojure/core.memoize'
subjectRef: 'master'

test-math-combinatorics:
uses: ./.github/workflows/test-mvn-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojure/math.combinatorics'
subjectRef: 'master'

test-java-jdbc:
uses: ./.github/workflows/test-mvn-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojure/java.jdbc'
subjectRef: 'master'

test-data-json:
uses: ./.github/workflows/test-mvn-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojure/data.json'
subjectRef: 'master'

test-data-fressian:
uses: ./.github/workflows/test-mvn-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojure/data.fressian'
subjectRef: 'master'

test-data-csv:
uses: ./.github/workflows/test-mvn-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojure/data.csv'
subjectRef: 'master'

test-state-flow:
uses: ./.github/workflows/test-lein-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'nubank/state-flow'
subjectRef: 'master'

test-clojure-lsp:
uses: ./.github/workflows/test-deps-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojure-lsp/clojure-lsp'
subjectRef: 'master'
testDir: './lib'
testCmd: '-M:test'
29 changes: 0 additions & 29 deletions .github/workflows/test-all-the-things.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,15 +327,6 @@ jobs:
subjectRepo: 'greglook/alphabase'
subjectRef: 'main'

## NOTE Fails: Unable to resolve var: clojure.instant/thread-local-utc-date-format in this context
## test-blocks:
## uses: ./.github/workflows/test-lein-repo.yml
## with:
## clojureRepo: ${{ inputs.clojureRepo }}
## clojureRef: ${{ inputs.clojureRef }}
## subjectRepo: 'greglook/blocks'
## subjectRef: 'master'

test-clj-arrangement:
uses: ./.github/workflows/test-lein-repo.yml
with:
Expand Down Expand Up @@ -848,15 +839,6 @@ jobs:
subjectRepo: 'ztellman/sleight'
subjectRef: 'master'

# NOTE java.lang.IllegalArgumentException: No matching method sleep found taking 1 args
# test-virgil:
# uses: ./.github/workflows/test-lein-repo.yml
# with:
# clojureRepo: ${{ inputs.clojureRepo }}
# clojureRef: ${{ inputs.clojureRef }}
# subjectRepo: 'ztellman/virgil'
# subjectRef: 'master'

test-clojure-lsp:
uses: ./.github/workflows/test-deps-repo.yml
with:
Expand All @@ -867,17 +849,6 @@ jobs:
testDir: './lib'
testCmd: '-M:test'

# NOTE Unable to resolve var: clojure.instant/thread-local-utc-date-format in this context
# test-fern:
# uses: ./.github/workflows/test-deps-repo.yml
# with:
# clojureRepo: ${{ inputs.clojureRepo }}
# clojureRef: ${{ inputs.clojureRef }}
# subjectRepo: 'conitect-labs/fern'
# subjectRef: 'master'
# testDir: '.'
# testCmd: '-M:test'

test-runner:
uses: ./.github/workflows/test-deps-repo.yml
with:
Expand Down

0 comments on commit 7472f09

Please sign in to comment.