Skip to content
代码片段 群组 项目
未验证 提交 c65fdf3d 编辑于 作者: Timotej Ecimovic's avatar Timotej Ecimovic 提交者: GitHub
浏览文件

Separate unit test build from release build. (#562)

上级 0eabd7f5
No related branches found
No related tags found
无相关合并请求
...@@ -4,6 +4,7 @@ on: push ...@@ -4,6 +4,7 @@ on: push
env: env:
ZAP_TEST_TIMEOUT: 3600000 ZAP_TEST_TIMEOUT: 3600000
ZAP_TEMPSTATE: 1
jobs: jobs:
release: release:
...@@ -45,9 +46,8 @@ jobs: ...@@ -45,9 +46,8 @@ jobs:
- run: npm rebuild libxmljs --update-binary - run: npm rebuild libxmljs --update-binary
- run: npm run build-spa - run: npm run build-spa
- run: npm run lint - run: npm run lint
- run: xvfb-run -a npm run test:unit
if: startsWith(matrix.os, 'ubuntu') if: startsWith(matrix.os, 'ubuntu')
- run: xvfb-run -a npm run self-check - run: npm run self-check
if: startsWith(matrix.os, 'ubuntu') if: startsWith(matrix.os, 'ubuntu')
- run: npm run gen - run: npm run gen
- run: npm run genmatter - run: npm run genmatter
......
...@@ -5,7 +5,7 @@ name: Generation and back-end tests ...@@ -5,7 +5,7 @@ name: Generation and back-end tests
on: on:
push: push:
branches: [master, zigbee_shared_cluster_logic] branches: [master]
pull_request: pull_request:
branches: [master] branches: [master]
...@@ -42,15 +42,4 @@ jobs: ...@@ -42,15 +42,4 @@ jobs:
- run: npm run gen - run: npm run gen
- run: npm run genmatter - run: npm run genmatter
- run: npm run gendotdot - run: npm run gendotdot
- run: export GH_TOKEN=${{ secrets.GITHUB_TOKEN}} && npm run pack:linux - run: npm run genmeta
- run: xvfb-run -a dist/linux-unpacked/zap selfCheck
- name: Archive .rpm file
uses: actions/upload-artifact@v2
with:
name: zap-linux-rpm
path: dist/zap*.rpm
- name: Archive .deb file
uses: actions/upload-artifact@v2
with:
name: zap-linux-deb
path: dist/zap*.deb
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册