-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (40 loc) · 988 Bytes
/
pr.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
40
41
42
name: NerlnetInstall
on:
pull_request:
branches: [ master ]
env:
RUNNING_IN_DOCKER: true
jobs:
build:
runs-on: ubuntu-latest
container: leondavi/nerlnet:latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install
run: |
./NerlnetInstall.sh
- name: Build
id: build
run: |
./NerlnetBuild.sh
- name: Run NIF unit tests
id: nif
if: steps.build.outcome == 'success'
run: |
./tests/NerlnetNifTest.sh
timeout-minutes: 15
- name: Source NIF unit tests
id: sourcenif
if: steps.build.outcome == 'success'
run: |
./tests/NerlnetSourceNifTest.sh
timeout-minutes: 15
- name: Run FullFlow test
id: fullflow
if: steps.nif.outcome == 'success'
run: |
./tests/NerlnetFullFlowTest.sh
timeout-minutes: 20