From 760fe256cd0c87ffbaacf06efe3878ee8c937781 Mon Sep 17 00:00:00 2001 From: Oleksandr Anyshchenko Date: Sun, 9 Jul 2023 08:23:06 +0100 Subject: [PATCH] ci: fix ci --- .github/workflows/cli.yml | 42 +++++++++++++-------------------------- 1 file changed, 14 insertions(+), 28 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index a238a94..2f3956b 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -8,34 +8,9 @@ on: pull_request: jobs: - install_simple: - name: Install Simple - runs-on: ubuntu-latest - steps: - - name: Checkout sources - uses: actions/checkout@v2 - - name: Install aurora-cli - uses: actions-rs/cargo@v1 - with: - command: install - args: --path . - - install_advanced: - name: Install Advanced - runs-on: ubuntu-latest - steps: - - name: Checkout sources - uses: actions/checkout@v2 - - name: Install aurora-cli - uses: actions-rs/cargo@v1 - with: - command: install - args: --path . --no-default-features -F advanced - simple_tests: name: Tests ${{ matrix.interface }} CLI runs-on: ubuntu-latest - needs: install_simple strategy: matrix: interface: [ Simple, Silo ] @@ -47,13 +22,24 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v2 - - run: ${{ matrix.script }} + - name: Install aurora-cli + uses: actions-rs/cargo@v1 + with: + command: install + args: --path . + - name: Run ${{ matrix.interface }} tests + run: ${{ matrix.script }} advanced_tests: name: Tests Advanced CLI runs-on: ubuntu-latest - needs: install_advanced steps: - name: Checkout sources uses: actions/checkout@v2 - - run: scripts/advanced.sh + - name: Install aurora-cli + uses: actions-rs/cargo@v1 + with: + command: install + args: --path . --no-default-features -F advanced + - name: Run Advanced tests + run: scripts/advanced.sh