From c2ee47891febe5b07778c834544f5065239b2c5f Mon Sep 17 00:00:00 2001 From: JarrodCTaylor Date: Thu, 14 Mar 2024 13:33:31 -0500 Subject: [PATCH] Ad workflow to test repos with pinned SHAs --- .github/workflows/test-all-the-things.yml | 10 --------- .github/workflows/test-pinned-repos.yml | 25 +++++++++++++++++++++++ README.md | 3 ++- 3 files changed, 27 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/test-pinned-repos.yml diff --git a/.github/workflows/test-all-the-things.yml b/.github/workflows/test-all-the-things.yml index 338154e..fb94929 100644 --- a/.github/workflows/test-all-the-things.yml +++ b/.github/workflows/test-all-the-things.yml @@ -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: diff --git a/.github/workflows/test-pinned-repos.yml b/.github/workflows/test-pinned-repos.yml new file mode 100644 index 0000000..d9617d5 --- /dev/null +++ b/.github/workflows/test-pinned-repos.yml @@ -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' + diff --git a/README.md b/README.md index 70510d1..75cd34e 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +* [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.