From 043d667c6872b2f0690362e0a8bdeb949cc6919d Mon Sep 17 00:00:00 2001 From: Daniel Eades Date: Thu, 6 Apr 2023 07:03:55 +0100 Subject: [PATCH] run tests in CI --- .github/dependabot.yml | 8 ++++++++ .github/workflows/CI.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/CI.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..0300aaf --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + ignore: + - dependency-name: dtolnay/rust-toolchain diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml new file mode 100644 index 0000000..05e7e9a --- /dev/null +++ b/.github/workflows/CI.yaml @@ -0,0 +1,26 @@ +on: + push: + branches: [master] + pull_request: + +name: Continuous integration + +jobs: + test: + name: test + runs-on: ${{ matrix.os }} + strategy: + matrix: + build: [stable, nightly] + os: [ubuntu-latest] + include: + - build: windows + os: windows-latest + rust: nightly + + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ matrix.rust }} + - run: cargo test --all-features