Skip to content

Commit

Permalink
BUG: fix yaml if statements
Browse files Browse the repository at this point in the history
Fix the yaml if statements to evaluate correctly.
  • Loading branch information
aburrell committed Mar 29, 2024
1 parent 31607f3 commit 6c8d451
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,21 @@ jobs:
run: coverage run --rcfile=pyproject.toml -m unittest discover

- name: Report Coveralls (Linux)
if: ${{ matrix.os }} == "ubuntu-latest"
if: ${{ matrix.os == "ubuntu-latest" }}
run: curl -sL https://coveralls.io/coveralls-linux.tar.gz | tar -xz && ./coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_PARALLEL: true

- name: Report Coveralls (Windows)
if: ${{ matrix.os }} == "windows-latest"
if: ${{ matrix.os == "windows-latest" }}
run: curl -sL https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-windows.zip | zcat > ./coveralls.exe && ./coveralls.exe
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_PARALLEL: true

- name: Report Coveralls (macOS)
if: ${{ matrix.os }} == "macos-latest"
if: ${{ matrix.os == "macos-latest" }}
run: |
brew tap coverallsapp/coveralls --quiet
brew install coveralls --quiet
Expand Down

0 comments on commit 6c8d451

Please sign in to comment.