aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/feature-branch.yml
diff options
context:
space:
mode:
authorKamen Mladenov <kamen@syndamia.com>2024-01-08 20:20:32 +0200
committerGitHub <noreply@github.com>2024-01-08 20:20:32 +0200
commit9aca1ce669eb23b734670640a90cc58adeb48807 (patch)
tree9baf38b7f278afb35e3aaa0bf1ddb98949586767 /.github/workflows/feature-branch.yml
parentf891b7daabf33d50913edb11dbbfb82a9216327b (diff)
parentfe3e25494bd4472f40e843f75463d49316ff2585 (diff)
downloadpico-web-0.1.0.tar
pico-web-0.1.0.tar.gz
pico-web-0.1.0.zip
Merge pull request #2 from Syndamia/devv0.1.0
Major changes
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
-