Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
updated options to only run integration on linux
Browse files Browse the repository at this point in the history
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
  • Loading branch information
brooksmtownsend committed Jan 18, 2022
1 parent 52ce3c7 commit 00cb0be
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,26 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-10.15]
include:
- os: ubuntu-20.04
test-options: '--no-fail-fast --bin wash --test "integration*"'
name: 'Unit and integration tests'
- os: windows-2019
test-options: '--no-fail-fast --bin wash'
name: 'Unit tests'
- os: macos-10.15
test-options: '--no-fail-fast --bin wash'
name: 'Unit tests'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: run docker-compose
- name: Launch integration test services
if: ${{ startswith(matrix.os, 'ubuntu') }}
uses: sudo-bot/action-docker-compose@latest
with:
cli-args: "-f ./tools/docker-compose.yml up"
- id: rust-check-action
name: Unit tests
name: ${{ matrix.name }}
uses: wasmcloud/common-actions/rust-check@main
with:
test-options: '--no-fail-fast --bin wash'
- id: rust-check-action
name: Integration tests
if: ${{ startswith(matrix.os, 'ubuntu') }}
uses: wasmcloud/common-actions/rust-check@main
with:
test-options: '--no-fail-fast --test "integration*"'
test-options: ${{ matrix.test_options }}

0 comments on commit 00cb0be

Please sign in to comment.