aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/feature-branch.yml
diff options
context:
space:
mode:
authorKamen Mladenov <kamen@syndamia.com>2024-01-08 18:12:50 +0200
committerGitHub <noreply@github.com>2024-01-08 18:12:50 +0200
commit3a77d04a608d621232915e81bfa82b7565f61a35 (patch)
tree1628c47d5e948008c40dce1518140025cd7416bc /.github/workflows/feature-branch.yml
parentf891b7daabf33d50913edb11dbbfb82a9216327b (diff)
parentfe29a3630d48d3e1d44287ea41682621d3a3dab0 (diff)
downloadpico-web-3a77d04a608d621232915e81bfa82b7565f61a35.tar
pico-web-3a77d04a608d621232915e81bfa82b7565f61a35.tar.gz
pico-web-3a77d04a608d621232915e81bfa82b7565f61a35.zip
Merge pull request #1 from Syndamia/dev-workflow
Updated workflows and fixed issues
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
-