Skip to content

Commit 8612848

Browse files
committed
Ci: add test workflow
1 parent 1f6560b commit 8612848

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

.github/workflows/test.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths-ignore:
8+
- 'README.md'
9+
- 'CHANGELOG.md'
10+
- 'resources/ECA_VERSION'
11+
- 'docs/**'
12+
- 'images/**'
13+
- 'mkdocs.yml'
14+
- '.github/workflows/nightly.yml'
15+
- '.github/workflows/docs.yml'
16+
- '.github/workflows/release.yml'
17+
18+
pull_request:
19+
20+
jobs:
21+
unit-test:
22+
runs-on: ${{matrix.os}}
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
os: [ubuntu-22.04]
27+
jdk: [17]
28+
include:
29+
- os: windows-latest
30+
jdk: 17
31+
- os: macos-latest
32+
jdk: 17
33+
steps:
34+
- uses: actions/checkout@v4
35+
with:
36+
fetch-depth: 0
37+
38+
- name: Set up JDK ${{ matrix.jdk }}
39+
uses: actions/setup-java@v1
40+
with:
41+
java-version: ${{ matrix.jdk }}
42+
43+
- name: Install Clojure
44+
uses: DeLaGuardo/setup-clojure@master
45+
with:
46+
cli: '1.12.0.1495'
47+
bb: '0.9.161'
48+
49+
- name: Run tests
50+
run: bb test

0 commit comments

Comments
 (0)