aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/feature-branch.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/feature-branch.yml')
-rw-r--r--.github/workflows/feature-branch.yml21
1 files changed, 14 insertions, 7 deletions
diff --git a/.github/workflows/feature-branch.yml b/.github/workflows/feature-branch.yml
index 54c0c6b..3ff1833 100644
--- a/.github/workflows/feature-branch.yml
+++ b/.github/workflows/feature-branch.yml
@@ -1,4 +1,4 @@
-name: feature-branch
+name: Tests and static analysis
on:
push:
branches-ignore:
@@ -13,6 +13,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
+ with:
+ submodules: recursive
- uses: actions/upload-artifact@v3
with:
name: source-code
@@ -22,15 +24,20 @@ jobs:
runs-on: ubuntu-latest
needs: Clone-repo
steps:
- - uses: actions/checkout@v4
- - name: Build server and browser
+ - uses: actions/download-artifact@v3
+ with:
+ name: source-code
+ path: .
+ - name: Run tests
run: make tests
- Static analysis:
+ Static-analysis:
runs-on: ubuntu-latest
needs: Clone-repo
steps:
- - uses: actions/checkout@v4
- - name: Build server and browser
+ - uses: actions/download-artifact@v3
+ with:
+ name: source-code
+ path: .
+ - name: Run static analysis
run: make static-analysis
-