Skip to content

Commit

Permalink
ci: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksuss committed Jul 9, 2023
1 parent d94b639 commit 760fe25
Showing 1 changed file with 14 additions and 28 deletions.
42 changes: 14 additions & 28 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand All @@ -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

0 comments on commit 760fe25

Please sign in to comment.