Skip to content

Commit c2ee478

Browse files
committed
Ad workflow to test repos with pinned SHAs
1 parent c2bad47 commit c2ee478

File tree

3 files changed

+27
-11
lines changed

3 files changed

+27
-11
lines changed

.github/workflows/test-all-the-things.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -840,16 +840,6 @@ jobs:
840840
subjectRepo: 'ztellman/sleight'
841841
subjectRef: 'master'
842842

843-
test-clojure-lsp:
844-
uses: ./.github/workflows/test-deps-repo.yml
845-
with:
846-
clojureRepo: ${{ inputs.clojureRepo }}
847-
clojureRef: ${{ inputs.clojureRef }}
848-
subjectRepo: 'clojure-lsp/clojure-lsp'
849-
subjectRef: '85fb38b42e3e3dc5ae608adde6c882a536faf41a'
850-
testDir: './lib'
851-
testCmd: '-M:test'
852-
853843
test-runner:
854844
uses: ./.github/workflows/test-deps-repo.yml
855845
with:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test Pinned Repos
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
clojureRepo:
7+
description: "Repository name with owner."
8+
required: true
9+
default: 'clojure/clojure'
10+
clojureRef:
11+
description: "The branch, tag or SHA to checkout"
12+
required: true
13+
default: 'master'
14+
15+
jobs:
16+
test-clojure-lsp:
17+
uses: ./.github/workflows/test-deps-repo.yml
18+
with:
19+
clojureRepo: ${{ inputs.clojureRepo }}
20+
clojureRef: ${{ inputs.clojureRef }}
21+
subjectRepo: 'clojure-lsp/clojure-lsp'
22+
subjectRef: '85fb38b42e3e3dc5ae608adde6c882a536faf41a'
23+
testDir: './lib'
24+
testCmd: '-M:test'
25+

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ Required inputs for all actions are the same.
1212

1313
* [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
1414
* [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
15-
* [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.
15+
* [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.
16+
* [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 commit comments

Comments
 (0)