watchexec/.github/workflows/merge.yml

51 lines
1.2 KiB
YAML
Raw Normal View History

2022-05-30 04:34:22 +02:00
name: Merge (with bors)
on:
push:
branches:
- staging
- trying
tags-ignore:
- "*"
2022-05-30 04:34:22 +02:00
jobs:
test:
strategy:
matrix:
2022-05-30 04:44:50 +02:00
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
2022-09-02 11:12:47 +02:00
toolchain: 1.60.0
2022-05-30 04:44:50 +02:00
- name: msrv-windows
platform: windows
2022-09-02 11:12:47 +02:00
toolchain: 1.60.0
2022-05-30 04:44:50 +02:00
- name: msrv-macos
platform: macos
2022-09-02 11:12:47 +02:00
toolchain: 1.60.0
2022-05-30 04:34:22 +02:00
2022-05-30 04:44:50 +02:00
name: Test on ${{ matrix.platform }} with Rust ${{ matrix.toolchain }}
2022-05-30 04:34:22 +02:00
runs-on: "${{ matrix.platform }}-latest"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
2022-05-30 04:44:50 +02:00
toolchain: "${{ matrix.toolchain }}"
2022-05-30 04:34:22 +02:00
override: true
- name: Run test suite
uses: actions-rs/cargo@v1
2022-05-30 04:34:22 +02:00
with:
command: test
- name: Check that CLI runs
run: cargo run -p watchexec-cli -- -1 echo