Skip to content

Commit

Permalink
Ad workflow to test repos with pinned SHAs
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrodCTaylor committed Mar 14, 2024
1 parent c2bad47 commit c2ee478
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 11 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/test-all-the-things.yml
Original file line number Diff line number Diff line change
Expand Up @@ -840,16 +840,6 @@ jobs:
subjectRepo: 'ztellman/sleight'
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: '85fb38b42e3e3dc5ae608adde6c882a536faf41a'
testDir: './lib'
testCmd: '-M:test'

test-runner:
uses: ./.github/workflows/test-deps-repo.yml
with:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/test-pinned-repos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test Pinned Repos

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-clojure-lsp:
uses: ./.github/workflows/test-deps-repo.yml
with:
clojureRepo: ${{ inputs.clojureRepo }}
clojureRef: ${{ inputs.clojureRef }}
subjectRepo: 'clojure-lsp/clojure-lsp'
subjectRef: '85fb38b42e3e3dc5ae608adde6c882a536faf41a'
testDir: './lib'
testCmd: '-M:test'

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ Required inputs for all actions are the same.

* [test-against-datomic](https://github.com/clojure/test.regression/actions/workflows/test-against-datomic.yml): Runtime ~4 min. Runs basic smoke test against datomic-local and datomic-pro
* [test-against-contrib-and-nu](https://github.com/clojure/test.regression/actions/workflows/test-against-contrib-and-nu.yml): Runtime ~4 min. Run tests in contrib repos and open source Nubank repos
* [test-all-the-things](https://github.com/clojure/test.regression/actions/workflows/test-all-the-things.yml): Runtime ~30 min. Run test in over one hundred community repositories.
* [test-all-the-things](https://github.com/clojure/test.regression/actions/workflows/test-all-the-things.yml): Runtime ~30 min. Run test in over one hundred community repositories.
* [test-pinned-repos](https://github.com/clojure/test.regression/actions/workflows/test-pinned-repos.yml): Runtime ~4 min. Run tests against repositories that require pinned SHAs.

0 comments on commit c2ee478

Please sign in to comment.