name: Tests
on: [push, pull_request]
jobs:
  All-Tests:
    name: All Tests
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Packages
        run: |
          sudo apt-get update
          sudo apt-get install libbsd-dev
      - name: Configure
        run: |
          cmake -S . -B ${{github.workspace}}/tmp -DADDRESS_SANITIZER=ON -DCOVERAGE=ON -DWALL=ON
      - name: Build
        run: |
          cmake --build ${{github.workspace}}/tmp --target all test
      - name: Coverage
        run: |
          bash <(curl -s https://codecov.io/bash)

name: Tests
on: [push, pull_request]
jobs:
  Coverage:
    name: Coverage
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Packages
        run: |
          sudo apt-get update
          sudo apt-get install libbsd-dev
      - name: Configure
        run: |
          cmake -S . -B ${{github.workspace}}/tmp -DCOVERAGE=ON -DWALL=ON
      - name: Build
        run: |
          cmake --build ${{github.workspace}}/tmp --target all test
      - name: Coverage
        run: |
          bash <(curl -s https://codecov.io/bash)

Update GitHub Action, turn address sanitizer off.
Update GitHub Action, turn address sanitizer off.

Rename the "All Tests" job to "Coverage" and remove
`-DADDRESS_SANITIZER=ON` from the configuration step, since the
Sourcehut debian build is already doing this.
