-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (35 loc) · 1.04 KB
/
unit_tests.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
39
name: 'Agora unit tests'
on:
workflow_dispatch: #Manual trigger from GitHub UI
push:
merge_group:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # Checkout the Agora repo
- name: Git secrets setup
run: |
git clone https://github.com/awslabs/git-secrets.git ~/git-secrets
cd ~/git-secrets
git checkout ad82d68ee924906a0401dfd48de5057731a9bc84
sudo make install
shell: bash
- name: Secrets check
run: |
sudo ln -s "$(which echo)" /usr/local/bin/say
./minnie-kenny.sh --force
git secrets --scan-history
shell: bash
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Run tests
run: |
docker pull mongo:4.4
docker pull testcontainersofficial/ryuk:0.3.0
./minnie-kenny.sh --force
git secrets --scan-history
sbt clean coverage test coverageReport