diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..a082d57 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: Test + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + name: Test + runs-on: ubuntu-latest + container: + image: xd009642/tarpaulin:latest + options: --security-opt seccomp=unconfined + steps: + - uses: actions/checkout@v4 + - name: Test and Generate Coverage + run: cargo tarpaulin --verbose --timeout 120 --jobs 1 --coveralls ${{secrets.COVERALLS_TOKEN}} + +