Skip to content

Commit

Permalink
Add new repos to test
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrodCTaylor committed Sep 24, 2024
1 parent d6b2a1f commit 957939d
Show file tree
Hide file tree
Showing 4 changed files with 656 additions and 196 deletions.
90 changes: 29 additions & 61 deletions .github/workflows/debug-stuff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,66 +13,34 @@ on:
default: 'master'

jobs:
test-money:
uses: ./.github/workflows/lein-test.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojurewerkz/money'
subjectRef: 'main'
javaVersion: '["11", "17", "21"]'

test-cheshire:
uses: ./.github/workflows/lein-test.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'dakrone/cheshire'
subjectRef: 'master'
javaVersion: '["8", "11", "17"]'
## Uses bb to run tests unsure how to override clj version
# test-clj-yaml:
# uses: ./.github/workflows/deps-test.yml
# with:
# clojureRepo: ${{ inputs.clojureRepo }}
# clojureRef: ${{ inputs.clojureRef }}
# testCmd: '-M:test'
# testDir: '.'
# subjectRepo: 'clj-commons/clj-yaml'
# subjectRef: 'master'
# javaVersion: '["11", "17", "21"]'
## CI Failing in repo
# test-durable-queue:
# uses: ./.github/workflows/lein-test.yml
# with:
# clojureRepo: ${{ inputs.clojureRepo }}
# clojureRef: ${{ inputs.clojureRef }}
# subjectRepo: 'clj-commons/durable-queue'
# subjectRef: 'master'
## Uses xvfb
# test-seesaw:
# uses: ./.github/workflows/lein-test.yml
# with:
# clojureRepo: ${{ inputs.clojureRepo }}
# clojureRef: ${{ inputs.clojureRef }}
# preTest: 'export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start'
# testCmd: 'lein deps; lein javac; export DISPLAY=:99.0; ./lazytest.sh'
# subjectRepo: 'clj-commons/seesaw'
# subjectRef: 'master'

test-ring-core:
uses: ./.github/workflows/lein-test.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'ring-clojure/ring'
subjectRef: 'master'
javaVersion: '["11", "17", "21"]'

test-incomplete:
uses: ./.github/workflows/lein-test.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'nrepl/incomplete'
subjectRef: 'main'

test-fressian:
uses: ./.github/workflows/mvn-test.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'Datomic/fressian'
subjectRef: 'master'
javaVersion: '["11", "17", "21"]'

test-pandect:
uses: ./.github/workflows/lein-test.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'xsc/pandect'
subjectRef: 'main'

test-pedestal:
uses: ./.github/workflows/deps-test.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'pedestal/pedestal'
subjectRef: 'master'
setUpDir: './tests'
setUpCmd: 'clojure -X:deps:local prep'
testDir: './tests'
testCmd: '-X:test'
7 changes: 6 additions & 1 deletion .github/workflows/lein-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ on:
required: false
default: '["8", "11", "17", "21"]'
type: string
testCmd:
description: "Command to invoke test run"
type: string
required: false
default: 'lein test'

jobs:
test:
Expand Down Expand Up @@ -80,4 +85,4 @@ jobs:
cd /home/runner/work/test.regression/test.regression/subject-source
lein deps
sed -i.bak "s/\(org.clojure\/clojure\ \"[0-9\.]*\"\)/org.clojure\/clojure \"${{ env.LATEST_CLJ_BUILD }}\"/g" project.clj
lein test
${{ inputs.testCmd }}
Loading

0 comments on commit 957939d

Please sign in to comment.