mirror of https://github.com/spikecodes/libreddit
ci: migrate to actions-rs for running tests
This commit is contained in:
parent
ca7ad9f812
commit
c82dc6e797
|
@ -10,13 +10,21 @@ env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
test:
|
||||||
|
name: Test Suite
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout sources
|
||||||
- name: Build
|
uses: actions/checkout@v2
|
||||||
run: cargo build --verbose
|
|
||||||
- name: Run tests
|
- name: Install stable toolchain
|
||||||
run: cargo test --verbose
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: stable
|
||||||
|
override: true
|
||||||
|
|
||||||
|
- name: Run cargo test
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: test
|
Loading…
Reference in New Issue