diff options
| -rw-r--r-- | .github/worflows/pull_request.yaml | 27 | ||||
| -rw-r--r-- | .gitignore | 2 |
2 files changed, 29 insertions, 0 deletions
diff --git a/.github/worflows/pull_request.yaml b/.github/worflows/pull_request.yaml new file mode 100644 index 0000000..c643859 --- /dev/null +++ b/.github/worflows/pull_request.yaml @@ -0,0 +1,27 @@ +name: August Offensive PR + +on: + pull_request: + branches: [ "trunk", "master" ] + +jobs: + + rust: + runs-on: ubuntu-latest + + container: + image: xd009642/tarpaulin:develop-nightly + options: --security-opt seccomp=unconfined + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Generate code coverage + run: | + cargo tarpaulin --verbose --workspace --exclude-files src/schema.rs --out xml + + - name: Upload code coverage report to artifacts + uses: actions/upload-artifact@v4 + with: + path: cobertura.xml + @@ -7,3 +7,5 @@ target/ *.out *~ **/*.rs.bk + +cobertura.xml |
