diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-12-03 20:19:44 +0100 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-12-03 20:19:44 +0100 |
| commit | 80b79693511f410ced95f96990517a48e65940da (patch) | |
| tree | 689a7d6c3134896e2df5f8afe5a67d340807f0b5 | |
| parent | 6d603429752993b6cc0b685aa144ffa57a1705af (diff) | |
Remove coverage runner.
It's too flaky.
| -rw-r--r-- | .github/workflows/cover.yml | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/.github/workflows/cover.yml b/.github/workflows/cover.yml deleted file mode 100644 index 5d61296d5..000000000 --- a/.github/workflows/cover.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: Test Coverage -on: [push, pull_request, workflow_dispatch] - -jobs: - build_linux_amd64: - runs-on: ubuntu-latest - name: Linux AMD64 Test Coverage - timeout-minutes: 60 - steps: - - uses: actions/checkout@v4 - - - name: Download LLVM (Ubuntu) - if: matrix.os == 'ubuntu-latest' - run: | - wget https://apt.llvm.org/llvm.sh - chmod +x llvm.sh - sudo ./llvm.sh 20 - echo "/usr/lib/llvm-20/bin" >> $GITHUB_PATH - - - name: Install kcov - run: | - sudo apt-get update - sudo apt-get install binutils-dev build-essential cmake libssl-dev libcurl4-openssl-dev libelf-dev libstdc++-12-dev zlib1g-dev libdw-dev libiberty-dev - git clone https://github.com/SimonKagstrom/kcov.git - mkdir kcov/build - cd kcov/build - cmake .. - sudo make - sudo make install - cd ../.. - kcov --version - - - name: Build Odin - run: ./build_odin.sh release - - - name: Odin report - run: ./odin report - - - name: Normal Core library tests - run: | - ./odin build tests/core/normal.odin -build-mode:test -debug -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_amd64 - mkdir kcov-out - kcov --exclude-path=tests,/usr kcov-out ./normal.bin . - - - name: Optimized Core library tests - run: | - ./odin build tests/core/speed.odin -build-mode:test -debug -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_amd64 - kcov --exclude-path=tests,/usr kcov-out ./speed.bin . - - - name: Internals tests - run: | - ./odin build tests/internal -build-mode:test -debug -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_amd64 - kcov --exclude-path=tests,/usr kcov-out ./internal . - - - uses: codecov/codecov-action@v5 - with: - name: Ubuntu Coverage # optional - token: ${{ secrets.CODECOV_TOKEN }} - verbose: true # optional (default = false - directory: kcov-out/kcov-merged
\ No newline at end of file |