Compare commits
1 Commits
5b9601c474
...
e74ddb96ab
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e74ddb96ab |
18
.github/workflows/test.yaml
vendored
18
.github/workflows/test.yaml
vendored
@@ -50,11 +50,15 @@ jobs:
|
||||
restore-keys: |
|
||||
frontend-build-${{ runner.os }}-
|
||||
|
||||
- name: create symlink to frontend build
|
||||
run: ln -s ${{ github.workspace }}/apps/nxmesh-frontend/dist ${{ github.workspace }}/apps/nxmesh-master/frontend-dist
|
||||
- name: Copy frontend build to expected location
|
||||
run: |
|
||||
# unlink frontend-dist
|
||||
rm -f apps/nxmesh-master/frontend-dist || true
|
||||
rm -rf apps/nxmesh-master/frontend-dist || true
|
||||
cp -r apps/nxmesh-frontend/dist apps/nxmesh-master/frontend-dist
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --all-features
|
||||
run: cargo test --all-features -- --show-output
|
||||
|
||||
lint-crates:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -82,8 +86,12 @@ jobs:
|
||||
restore-keys: |
|
||||
frontend-build-${{ runner.os }}-
|
||||
|
||||
- name: create symlink to frontend build
|
||||
run: ln -s ${{ github.workspace }}/apps/nxmesh-frontend/dist ${{ github.workspace }}/apps/nxmesh-master/frontend-dist
|
||||
- name: Copy frontend build to expected location
|
||||
run: |
|
||||
# unlink frontend-dist
|
||||
rm -f apps/nxmesh-master/frontend-dist || true
|
||||
rm -rf apps/nxmesh-master/frontend-dist || true
|
||||
cp -r apps/nxmesh-frontend/dist apps/nxmesh-master/frontend-dist
|
||||
|
||||
- name: Run clippy
|
||||
run: cargo clippy --all-features
|
||||
|
||||
Reference in New Issue
Block a user