Skip to content

Commit

Permalink
ci: slit up shell tests flow
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksuss committed Jul 6, 2023
1 parent e9dbfc5 commit 4f7925a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 27 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
push:
branches:
- main
- develop
pull_request:

jobs:
shell_tests:
name: Tests ${{ matrix.interface }} CLI
runs-on: ubuntu-latest
strategy:
matrix:
interface: [ Advanced, Simple, Silo ]
include:
- interface: Advanced
args: --path . --no-default-features -F advanced
script: scripts/advanced.sh
- interface: Simple
args: --path .
script: scripts/simple.sh
- interface: Silo
args: --path .
script: scripts/simple-silo.sh
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install aurora-cli (Advanced CLI)
uses: actions-rs/cargo@v1
with:
command: install
args: ${{ matrix.args }}
- run: ${{ matrix.script }}

27 changes: 0 additions & 27 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,30 +63,3 @@ jobs:
with:
command: test
args: --all-targets --no-default-features -F advanced

shell_tests:
name: Tests ${{ matrix.interface }} CLI
runs-on: ubuntu-latest
strategy:
matrix:
interface: [ Advanced, Simple, Silo ]
include:
- interface: Advanced
args: --path . --no-default-features -F advanced
script: scripts/advanced.sh
- interface: Simple
args: --path .
script: scripts/simple.sh
- interface: Silo
args: --path .
script: scripts/simple-silo.sh
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install aurora-cli (Advanced CLI)
uses: actions-rs/cargo@v1
with:
command: install
args: ${{ matrix.args }}
- run: ${{ matrix.script }}

0 comments on commit 4f7925a

Please sign in to comment.