diff --git a/.github/workflows/debug-stuff.yml b/.github/workflows/debug-stuff.yml index 340c939..9e93c41 100644 --- a/.github/workflows/debug-stuff.yml +++ b/.github/workflows/debug-stuff.yml @@ -13,29 +13,58 @@ on: default: 'master' jobs: - 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"]' - test-durable-queue: - uses: ./.github/workflows/lein-test.yml - with: - clojureRepo: ${{ inputs.clojureRepo }} - clojureRef: ${{ inputs.clojureRef }} - subjectRepo: 'clj-commons/durable-queue' - subjectRef: 'master' - 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' \ No newline at end of file + # Tests pass on Java 11, fail on Java 17 + test-clj-commons-iapetos: + uses: ./.github/workflows/lein-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clj-commons/iapetos' + subjectRef: 'master' + + ## Tests pass on Java 8, 17, 21 but fail on Java 11 + test-clj-commons-manifold: + uses: ./.github/workflows/lein-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'clj-commons/manifold' + subjectRef: 'master' + + test-finagle-clojure: + uses: ./.github/workflows/lein-test.yml + with: + clojureRepo: ${{ inputs.clojureRepo }} + clojureRef: ${{ inputs.clojureRef }} + subjectRepo: 'finagle/finagle-clojure' + subjectRef: 'master' + ## 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' + diff --git a/.github/workflows/lein-test.yml b/.github/workflows/lein-test.yml index 7db32db..5511adc 100644 --- a/.github/workflows/lein-test.yml +++ b/.github/workflows/lein-test.yml @@ -30,11 +30,6 @@ on: type: string required: false default: 'lein test' - preTest: - description: "Pre test setup scripts" - type: string - required: false - default: '' jobs: test: @@ -90,5 +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 - ${{ inputs.preTest }} ${{ inputs.testCmd }} \ No newline at end of file