Test with MSRV on all platforms (#286)
This commit is contained in:
parent
4be340a4bc
commit
d395faeefa
|
@ -14,12 +14,27 @@ jobs:
|
|||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
platform:
|
||||
- ubuntu
|
||||
- windows
|
||||
- macos
|
||||
include:
|
||||
- name: stable-ubuntu
|
||||
platform: ubuntu
|
||||
toolchain: stable
|
||||
- name: stable-windows
|
||||
platform: windows
|
||||
toolchain: stable
|
||||
- name: stable-macos
|
||||
platform: macos
|
||||
toolchain: stable
|
||||
- name: msrv-ubuntu
|
||||
platform: ubuntu
|
||||
toolchain: 1.58.0
|
||||
- name: msrv-windows
|
||||
platform: windows
|
||||
toolchain: 1.58.0
|
||||
- name: msrv-macos
|
||||
platform: macos
|
||||
toolchain: 1.58.0
|
||||
|
||||
name: Merge test on ${{ matrix.platform }}
|
||||
name: Test on ${{ matrix.platform }} with Rust ${{ matrix.toolchain }}
|
||||
runs-on: "${{ matrix.platform }}-latest"
|
||||
|
||||
steps:
|
||||
|
@ -27,21 +42,7 @@ jobs:
|
|||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
|
||||
msrv:
|
||||
name: Merge test on MSRV
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: 1.58.0
|
||||
toolchain: "${{ matrix.toolchain }}"
|
||||
override: true
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
status = ["Merge test on %"]
|
||||
status = ["Test on %"]
|
||||
use_squash_merge = true
|
||||
delete_merged_branches = true
|
||||
update_base_for_deletes = true
|
||||
|
||||
# Disabled until https://github.com/bors-ng/bors-ng/issues/1434 is fixed
|
||||
#pr_status = ["PR check on ubuntu"]
|
||||
#pr_status = ["PR check on %"]
|
||||
|
|
Loading…
Reference in New Issue