-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (38 loc) · 913 Bytes
/
testing_task_lab2.yml
File metadata and controls
48 lines (38 loc) · 913 Bytes
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
43
44
45
46
47
48
name: lab2 test
on:
push:
branches: [ "main" ]
paths:
- "lab2/sc_dict/**"
pull_request:
branches: [ "main" ]
paths:
- "lab2/sc_dict/**"
permissions:
contents: read
jobs:
compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Erlang
uses: erlef/setup-beam@v1
with:
otp-version: 25.3
rebar3-version: 3.18.0
- name: Compile project
working-directory: lab2/sc_dict
run: rebar3 compile
tests:
runs-on: ubuntu-latest
needs: compile
steps:
- uses: actions/checkout@v4
- name: Set up Erlang
uses: erlef/setup-beam@v1
with:
otp-version: 25.3
rebar3-version: 3.18.0
- name: Run EUnit tests
working-directory: lab2/sc_dict
run: rebar3 eunit