Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrodCTaylor committed Sep 24, 2024
1 parent 02a27b5 commit 453e839
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 32 deletions.
81 changes: 55 additions & 26 deletions .github/workflows/debug-stuff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
# 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'

6 changes: 0 additions & 6 deletions .github/workflows/lein-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}

0 comments on commit 453e839

Please sign in to comment.