-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (36 loc) · 993 Bytes
/
other_test.yml
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
name: Test Process
on:
push:
branches-ignore:
- 'main'
- 'master'
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
mongodb-version: [ '4.4', '5.0', '6.0', '7.0', '8.0' ]
java: [ '21', '23' ]
steps:
- uses: actions/checkout@main
- name: Set up JDK ${{ matrix.Java }}
uses: coursier/setup-action@main
with:
jvm: corretto:${{ matrix.Java }}
apps: sbt scala scalac
- name: Setup TimeZone
uses: MathRobin/timezone-action@v1.1
with:
timezoneLinux: "Europe/Berlin"
timezoneMacos: "Europe/Berlin"
timezoneWindows: "W. Europe Standard Time"
- name: Start MongoDB ${{ matrix.mongodb-version }}
uses: MongoCamp/mongodb-github-action@main
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Run tests
run: |
timedatectl
sbt +test