-
Notifications
You must be signed in to change notification settings - Fork 235
39 lines (37 loc) · 1005 Bytes
/
pr-testing.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: PR Testing
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, edited, synchronize]
paths: ['src/**','test/**','project.clj']
jobs:
pr-testing:
name: PR Testing
strategy:
fail-fast: false
matrix:
javaargs: ['with-profile fips', '']
filter: [':singlethreaded', ':multithreaded']
version: ['11', '17']
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.version }}
- name: setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
- name: setup gems
run: ./dev-setup
- name: clojure tests
run: lein -U ${{ matrix.javaargs }} test ${{ matrix.filter }}
timeout-minutes: 30
- name: rspec tests
run: rake spec