From bee206983db22c6dc92044fd7b5b0365bbd44fc6 Mon Sep 17 00:00:00 2001 From: Phillip Mates Date: Thu, 4 Jan 2024 13:07:28 +0100 Subject: [PATCH] setup github actions (#491) --- .github/workflows/main.yml | 63 ++++++++++++++++++++++++++++++++++++++ CHANGELOG.md | 4 +++ README.md | 7 +++-- project.clj | 2 +- 4 files changed, 72 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..62dbe913 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,63 @@ +name: Continuous Delivery + +on: + push: + tags-ignore: + - '[a-z0-9]**' + branches: + - '**' + # allow for manual running of this workflow on the occasional case when github + # actions is being wonky + workflow_dispatch: null + +jobs: + tests: + timeout-minutes: 5 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Install java + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: '11.0.7' + + - name: Install clojure + uses: DeLaGuardo/setup-clojure@master + with: + cli: '1.10.3.1087' + bb: latest + clj-kondo: latest + + - name: maven cache + uses: actions/cache@v3 + with: + path: | + ~/.m2 + ~/.gitlibs + ~/.deps.clj + key: ${{ runner.os }}-maven-${{ hashFiles('deps.edn','bb.edn') }} + restore-keys: | + ${{ runner.os }}-maven- + + - name: fetch maven deps + run: lein deps + + - name: Run tests with Clojure 1.7 + run: lein with-profile 1.7 midje + + - name: Run tests with Clojure 1.8 + run: lein with-profile 1.8 midje + + - name: Run tests with Clojure 1.9 + run: lein with-profile 1.9 midje + + - name: Run tests with Clojure 1.10 + run: lein with-profile 1.10 midje + + - name: Run tests with Clojure 1.11 + run: lein with-profile 1.11 midje + + - name: Run tests with Clojure 1.12 + run: lein with-profile 1.12 midje diff --git a/CHANGELOG.md b/CHANGELOG.md index 097264e5..6f4cbcc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ This project adheres to [Semantic Versioning](http://semver.org/). See [here](http://keepachangelog.com/) for the change log format. +## [1.10.10] - 2024-01-04 +- fix exception handling issue occurring with clojure 1.10 and above +- bump libs + ## [1.10.9] - 2022-11-28 - add `every-checker` to `clj-kondo` config diff --git a/README.md b/README.md index 3df73f44..835f5ed2 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,9 @@ that save you the trouble of writing common code: Learning Midje ======================= -[Tutorial](https://github.com/marick/Midje/wiki/A-tutorial-introduction) -[Tutorial (and sales pitch) for the clojure.test user](https://github.com/marick/Midje/wiki/A-tutorial-introduction-for-Clojure.test-users) -[User guide](https://github.com/marick/Midje/wiki) +[Tutorial](https://github.com/marick/Midje/wiki/A-tutorial-introduction) +[Tutorial (and sales pitch) for the clojure.test user](https://github.com/marick/Midje/wiki/A-tutorial-introduction-for-Clojure.test-users) +[User guide](https://github.com/marick/Midje/wiki) [Mailing list](http://groups.google.com/group/midje) Other Tools @@ -84,6 +84,7 @@ Contributors * Sean T. Allen * Alex Baranosky * Blake Bassett +* Noah Bogart * Phillip Calçado * Toby Crawley * Chris Devine diff --git a/project.clj b/project.clj index 85af8bc7..79abf991 100755 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject midje "1.10.9" +(defproject midje "1.10.10" :description "A TDD library for Clojure that supports top-down ('mockish') TDD, encourages readable tests, provides a smooth migration path from clojure.test, balances abstraction and concreteness, and strives for graciousness." :url "https://github.com/marick/Midje" :pedantic? :warn