aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pull_request.yaml
blob: c643859196daeed26aa48aef69136917d1df419d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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