blob: c7ab19236eb18f7ae29cf175f3c74eb4a233353a (
plain) (
blame)
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
|
name: Tests and static analysis
on:
push:
branches-ignore:
- main
- dev
jobs:
# This is done to prevent potential race conditions;
# multiple jobs start with the source code, but since
# they have no "needs", one could start a little bit later,
# and in meantime a commit could be pushed
Clone-repo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/upload-artifact@v3
with:
name: source-code
path: .
Tests:
runs-on: ubuntu-latest
needs: Clone-repo
steps:
- uses: actions/download-artifact@v3
with:
name: source-code
path: .
- name: Build server and browser
run: make tests
Static-analysis:
runs-on: ubuntu-latest
needs: Clone-repo
steps:
- uses: actions/download-artifact@v3
with:
name: source-code
path: .
- name: Build server and browser
run: make static-analysis
|