forked from RodrigoDornelles/3bc-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 1 KB
/
automatic-tests.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
40
name: Automatic tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
fast:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v2
- name: Run fast tests suite
run: make tests
full:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v2
- name: Run full tests suite
run: make tests-full
- name: "Report tests (TODO: replace to codacy)"
if: false
run: |
gcov unit.c
bash <(curl -s https://codecov.io/bash)
install_vm_test:
runs-on: ubuntu-latest
steps:
- name: Install 3bc vm
run: sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/rodrigodornelles/3bc-lang/master/scripts/install_vm.sh || curl -fsSL https://raw.githubusercontent.com/rodrigodornelles/3bc-lang/master/scripts/install_vm.sh)"
- name: Run test
run: echo '7.0.2,1.0.1'| 3bc