Skip to content

Commit

Permalink
Do not run tests on MSRV (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor authored May 25, 2022
1 parent d11a272 commit f6508f2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[alias]
lint = "clippy --workspace --tests --examples --bins -- -Dclippy::todo"
ci-min = "hack check --workspace --no-default-features"
ci-check-min-tests = "hack check --workspace --no-default-features --tests --examples"
ci-check-min-examples = "hack check --workspace --no-default-features --examples"
ci-check = "check --workspace --tests --examples --bins"
ci-test = "test --workspace --lib --tests --all-features --examples --bins --no-fail-fast"
ci-doctest = "test --workspace --doc --all-features --no-fail-fast"
12 changes: 6 additions & 6 deletions .github/workflows/ci-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
options: --entrypoint redis-server

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
Expand All @@ -51,9 +51,9 @@ jobs:
uses: actions-rs/cargo@v1
with: { command: ci-min }

- name: check minimal + tests
- name: check minimal + examples
uses: actions-rs/cargo@v1
with: { command: ci-check-min-tests }
with: { command: ci-check-min-examples }

- name: check default
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
runs-on: ${{ matrix.target.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
Expand All @@ -109,9 +109,9 @@ jobs:
uses: actions-rs/cargo@v1
with: { command: ci-min }

- name: check minimal + tests
- name: check minimal + examples
uses: actions-rs/cargo@v1
with: { command: ci-check-min-tests }
with: { command: ci-check-min-examples }

- name: check default
uses: actions-rs/cargo@v1
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
--entrypoint redis-server
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
Expand All @@ -59,9 +59,9 @@ jobs:
uses: actions-rs/cargo@v1
with: { command: ci-min }

- name: check minimal + tests
- name: check minimal + examples
uses: actions-rs/cargo@v1
with: { command: ci-check-min-tests }
with: { command: ci-check-min-examples }

- name: check default
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
runs-on: ${{ matrix.target.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
Expand All @@ -118,9 +118,9 @@ jobs:
uses: actions-rs/cargo@v1
with: { command: ci-min }

- name: check minimal + tests
- name: check minimal + examples
uses: actions-rs/cargo@v1
with: { command: ci-check-min-tests }
with: { command: ci-check-min-examples }

- name: check default
uses: actions-rs/cargo@v1
Expand All @@ -145,7 +145,7 @@ jobs:
name: doc tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install Rust (nightly)
uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
options: --entrypoint redis-server

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install stable
uses: actions-rs/toolchain@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand All @@ -24,7 +24,7 @@ jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit f6508f2

Please sign in to comment.