Skip to content
Merged
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
56 changes: 56 additions & 0 deletions .github/workflows/pr-testing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
name: lein_test

on:
pull_request: {}
push:
branches:
- main

# minimal permissions
permissions:
contents: read

jobs:
run-lein-tests:
name: lein test - Java ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java:
- '21'
- '17'
steps:
- name: Check out repository code
uses: actions/checkout@v6
- name: Setup java
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Install Clojure tools
uses: DeLaGuardo/setup-clojure@13.4
with:
cli: latest # Clojure CLI based on tools.deps
lein: latest # Leiningen
boot: latest # Boot.clj
bb: latest # Babashka
clj-kondo: latest # Clj-kondo
cljstyle: latest # cljstyle
zprint: latest # zprint
- name: Run lein tests with update profile
run: |
set -x
set -e
lein version
echo "Running tests"
lein -U test

tests:
needs:
- run-lein-tests
runs-on: ubuntu-24.04
name: Test suite
steps:
- run: echo Test suite completed
8 changes: 4 additions & 4 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(defproject org.openvoxproject/clj-shell-utils "2.0.3-SNAPSHOT"
(defproject org.openvoxproject/clj-shell-utils "2.1.0-SNAPSHOT"
:description "Clojure shell execution utilities"

:min-lein-version "2.9.0"

:parent-project {:coords [org.openvoxproject/clj-parent "7.5.1"]
:parent-project {:coords [org.openvoxproject/clj-parent "7.6.3"]
:inherit [:managed-dependencies]}
:license {:name "Apache-2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0.txt"}
Expand All @@ -13,8 +13,8 @@
:test-paths ["test/unit"]

:plugins [[lein-project-version "0.1.0"]
[lein-parent "0.3.6"]
[org.openvoxproject/i18n "0.9.4"]]
[lein-parent "0.3.9"]
[org.openvoxproject/i18n "1.0.2"]]

:source-paths ["src/clj"]
:java-source-paths ["src/java"]
Expand Down