Skip to content

Commit

Permalink
setup github actions (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
philomates authored Jan 4, 2024
1 parent 550b584 commit bee2069
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 4 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -84,6 +84,7 @@ Contributors
* Sean T. Allen
* Alex Baranosky
* Blake Bassett
* Noah Bogart
* Phillip Calçado
* Toby Crawley
* Chris Devine
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit bee2069

Please sign in to comment.