Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: test

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Clojure CLI
uses: DeLaGuardo/setup-clojure@master
with:
cli: '1.12.1.1550'
- name: Cache All The Things
uses: actions/cache@v4
with:
path: |
~/.m2/repository
~/.gitlibs
~/.clojure
~/.cpcache
key: ${{ runner.os }}-${{ hashFiles('**/deps.edn') }}
- name: Run Tests
run: clojure -Sdeps '{:paths ["src" "test"] :deps {io.github.cognitect-labs/test-runner {:git/tag "v0.5.1" :git/sha "dfb30dd"}}}' -X cognitect.test-runner.api/test
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
(ns com.walmartlabs.dyn-edn-test-secret
(ns com.walmartlabs.dyn-edn-secret-test
(:require
[clojure.test :refer :all]
[clojure.edn :as edn]
[com.walmartlabs.dyn-edn :refer [env-readers]]
[com.walmartlabs.dyn-edn-tests]
[com.walmartlabs.dyn-edn-test]
[clojure.java.io :as io])
(:import (clojure.lang ExceptionInfo)
(java.nio.file Files Path)))

(def read-edn #'com.walmartlabs.dyn-edn-tests/read-edn)
(def read-edn #'com.walmartlabs.dyn-edn-test/read-edn)
(def get-secrets #'com.walmartlabs.dyn-edn/get-secrets)

(defn acquire-resource []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
;;; See the License for the specific language governing permissions and
;;; limitations under the License."

(ns com.walmartlabs.dyn-edn-tests
(ns com.walmartlabs.dyn-edn-test
(:require
[clojure.test :refer [deftest is are]]
[clojure.edn :as edn]
Expand Down