Skip to content

Commit

Permalink
ci: drop coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed May 29, 2024
1 parent efe845e commit b839458
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ jobs:
go-version-file: go.mod
- name: Run tests
run: make test
- name: Report coverage
uses: coverallsapp/github-action@v2
with:
file: coverage.out
parallel: true
flag-name: ${{ matrix.go-version }}-ubuntu
- name: Build
run: |
make build
Expand Down Expand Up @@ -87,12 +81,6 @@ jobs:
run: bash -c '(cd vendor/github.com/mitchellh/go-mruby && MRUBY_CONFIG=../../../../../../etc/build_config.rb make libmruby.a)'
- name: Run tests
run: make test
- name: Report coverage
uses: coverallsapp/github-action@v2
with:
file: coverage.out
parallel: true
flag-name: ${{ matrix.go-version }}-macos
- name: Build
run: |
make build
Expand Down Expand Up @@ -175,33 +163,3 @@ jobs:
bundle install
mkdir _icoverdir_
make ${{ matrix.test_command }}
- name: Format coverage
continue-on-error: true
run: |
go tool covdata textfmt -i _icoverdir_ -o coverage.out
- name: Check if has coverage?
id: coverage
run: |
if [ -s coverage.out ]; then
echo "coverage found"
echo "COVERAGE=yes" >> $GITHUB_OUTPUT
else
echo "no coverage found"
echo "COVERAGE=no" >> $GITHUB_OUTPUT
fi
- name: Report coverage
if: steps.coverage.outputs.COVERAGE == 'yes'
uses: coverallsapp/github-action@v2
with:
file: coverage.out
parallel: true
format: golang
flag-name: integration-${{ matrix.test_command }}

coverage:
runs-on: ubuntu-latest
needs: [test, test-macos, test-conformance]
steps:
- uses: coverallsapp/github-action@v2
with:
parallel-finished: true

0 comments on commit b839458

Please sign in to comment.