|
@@ -10,51 +10,6 @@ on:
|
|
|
- next
|
|
|
|
|
|
jobs:
|
|
|
- run-integration-tests:
|
|
|
- runs-on: ${{ matrix.platform }}
|
|
|
-
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix:
|
|
|
- platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
-
|
|
|
- steps:
|
|
|
- - uses: actions/checkout@v2
|
|
|
- with:
|
|
|
- fetch-depth: 0
|
|
|
- - name: install stable
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
- with:
|
|
|
- toolchain: stable
|
|
|
- - name: install Linux dependencies
|
|
|
- if: matrix.platform == 'ubuntu-latest'
|
|
|
- run: |
|
|
|
- sudo apt-get update
|
|
|
- sudo apt-get install -y webkit2gtk-4.0 libayatana-appindicator3-dev libfuse2
|
|
|
-
|
|
|
- - uses: Swatinem/rust-cache@v2
|
|
|
- with:
|
|
|
- workspaces: |
|
|
|
- core -> ../target
|
|
|
- tooling/cli
|
|
|
-
|
|
|
- - name: build CLI
|
|
|
- uses: actions-rs/cargo@v1
|
|
|
- with:
|
|
|
- command: build
|
|
|
- args: --manifest-path ./tooling/cli/Cargo.toml
|
|
|
-
|
|
|
- - name: run integration tests
|
|
|
- run: cargo test --test '*' -- --ignored
|
|
|
-
|
|
|
- - name: run CLI tests
|
|
|
- timeout-minutes: 30
|
|
|
- run: |
|
|
|
- cd ./tooling/cli/node
|
|
|
- yarn
|
|
|
- yarn build
|
|
|
- yarn test
|
|
|
-
|
|
|
version-or-publish:
|
|
|
runs-on: ubuntu-latest
|
|
|
timeout-minutes: 65
|
|
@@ -62,8 +17,6 @@ jobs:
|
|
|
change: ${{ steps.covector.outputs.change }}
|
|
|
commandRan: ${{ steps.covector.outputs.commandRan }}
|
|
|
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
|
|
|
- needs:
|
|
|
- - run-integration-tests
|
|
|
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|