Skip to content

Commit

Permalink
Add bors config to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Mar 27, 2023
1 parent e33dc4b commit a85724e
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
@@ -1,9 +1,23 @@
on: [pull_request, push]
jobs:
ci-result:
name: ci result
runs-on: ubuntu-latest
needs:
- build_and_test
steps:
- name: Mark the job as a success
if: success()
run: exit 0
- name: Mark the job as a failure
if: "!success()"
run: exit 1

build_and_test:
name: Test all features
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: cargo install cargo-all-features
- run: cargo build-all-features --verbose --examples
- run: cargo test-all-features --verbose

0 comments on commit a85724e

Please sign in to comment.