aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pull_request.yaml
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2024-11-01 18:39:33 -0400
committerKevin Hoerr <kjhoerr@submelon.tech>2024-11-01 18:41:56 -0400
commit690b118f1a7d61e937173a1d545697fb2a094027 (patch)
tree01fbcddbf1b0822d03c20f8711ded9555b9405a0 /.github/workflows/pull_request.yaml
parent8b1acd6532b8740dd0a659e9fe1d7fe0d13a1977 (diff)
downloadaugust-offensive-690b118f1a7d61e937173a1d545697fb2a094027.tar.gz
august-offensive-690b118f1a7d61e937173a1d545697fb2a094027.tar.bz2
august-offensive-690b118f1a7d61e937173a1d545697fb2a094027.zip
Fix
Diffstat (limited to '.github/workflows/pull_request.yaml')
-rw-r--r--.github/workflows/pull_request.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml
new file mode 100644
index 0000000..c643859
--- /dev/null
+++ b/.github/workflows/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
+