Skip to content

Commit

Permalink
fix: add windows run
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Mar 1, 2023
1 parent b903644 commit 0fd379a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 40 deletions.
14 changes: 11 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,23 @@ runs:
run: |
brew tap coverallsapp/coveralls --quiet
brew install coveralls --quiet
- name: Install coveralls reporter (Linux)
if: runner.os == 'Linux'
shell: bash
run: curl -sL https://coveralls.io/coveralls-linux.tar.gz | tar xz -C /usr/local/bin

- name: Finish report
- name: Install coveralls reporter (Windows)
if: startsWith(runner.os, 'Windows')
shell: bash
run: |
curl -sL https://github.com/mrexox/coverage-reporter/releases/download/v0.1.11/coveralls-windows.zip | tar xf
echo "::add-path::$GITHUB_WORKSPACE"
- name: Done report
if: inputs.parallel-finished == 'true'
shell: bash
run: coveralls --done ${{ inputs.debug == 'true' && '--debug' }}
run: coveralls --done ${{ inputs.debug == 'true' && '--debug' || '' }}
env:
COVERALLS_DEBUG: ${{ inputs.debug }}
COVERALLS_CARRYFORWARD_FLAGS: ${{ inputs.carryforward }}
Expand All @@ -76,7 +84,7 @@ runs:
COVERALLS_GIT_COMMIT: ${{ inputs.git-commit }}
COVERALLS_REPO_TOKEN: ${{ inputs.github-token }}

- name: Report
- name: Coverage report
if: inputs.parallel-finished != 'true'
shell: bash
run: >-
Expand Down
37 changes: 0 additions & 37 deletions coveralls.sh

This file was deleted.

0 comments on commit 0fd379a

Please sign in to comment.