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: |
|
restore-keys: |
|
||||||
frontend-build-${{ runner.os }}-
|
frontend-build-${{ runner.os }}-
|
||||||
|
|
||||||
- name: create symlink to frontend build
|
- name: Copy frontend build to expected location
|
||||||
run: ln -s ${{ github.workspace }}/apps/nxmesh-frontend/dist ${{ github.workspace }}/apps/nxmesh-master/frontend-dist
|
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
|
- name: Run tests
|
||||||
run: cargo test --all-features
|
run: cargo test --all-features -- --show-output
|
||||||
|
|
||||||
lint-crates:
|
lint-crates:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -82,8 +86,12 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
frontend-build-${{ runner.os }}-
|
frontend-build-${{ runner.os }}-
|
||||||
|
|
||||||
- name: create symlink to frontend build
|
- name: Copy frontend build to expected location
|
||||||
run: ln -s ${{ github.workspace }}/apps/nxmesh-frontend/dist ${{ github.workspace }}/apps/nxmesh-master/frontend-dist
|
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
|
- name: Run clippy
|
||||||
run: cargo clippy --all-features
|
run: cargo clippy --all-features
|
||||||
|
|||||||
Reference in New Issue
Block a user