From 63067f52ab7e31975069fb99f5926d2c3f82a60d Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Sun, 4 Jun 2023 22:26:23 -0700 Subject: [PATCH] Create coverage.yml --- .github/workflows/coverage.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/coverage.yml diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml new file mode 100644 index 0000000..a3615cd --- /dev/null +++ b/.github/workflows/coverage.yml @@ -0,0 +1,25 @@ +name: Test Coverage + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Create Test Media + run: cd tests; sh create_test_media.sh + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose + - name: Codecov + uses: codecov/codecov-action@v3.1.4 +