Skip to content

Commit

Permalink
workflow: test default features in addition to all-features
Browse files Browse the repository at this point in the history
But don't try to enable in_memory feature for 1.51
(because vt100 needs 2021 edition). Instead, manually
enable improved_unicode
  • Loading branch information
chris-laplante committed Feb 3, 2022
1 parent b00fe5a commit 36215ed
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,25 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable, beta, 1.51]
features: [--all-features, ""]
include:
- rust: 1.51
os: ubuntu-latest
features: --features improved_unicode
- rust: 1.51
os: macos-latest
features: --features improved_unicode
- rust: 1.51
os: windows-latest
features: --features improved_unicode
exclude:
- os: macos-latest
rust: beta
- os: windows-latest
rust: beta
# Can't use vt100 with 1.51 since it is 2021.1 edition
- rust: 1.51
features: --all-features

runs-on: ${{ matrix.os }}

Expand All @@ -37,7 +51,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features
args: --workspace ${{ matrix.features }}

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 36215ed

Please sign in to comment.