From dfe88f4a5fbc0578087dd04f44f7ae6615610ba0 Mon Sep 17 00:00:00 2001 From: Nicolas Viennot Date: Mon, 1 Nov 2021 16:36:28 +0000 Subject: [PATCH] ci: add tests Signed-off-by: Nicolas Viennot --- .github/workflows/clippy.yml | 4 ++-- .github/workflows/tests.yml | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 2c3bb3db..3017eed7 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -4,9 +4,9 @@ jobs: clippy_check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - run: rustup component add clippy + - uses: actions/checkout@v2 - uses: actions-rs/clippy-check@v1 with: + # The token is required to post clippy problems on the github result page. token: ${{ secrets.GITHUB_TOKEN }} args: --all-features diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000..b75ac270 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,8 @@ +on: [push, pull_request] +name: Tests +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: make test