Skip to content

Commit

Permalink
test if coveralls works on pr
Browse files Browse the repository at this point in the history
  • Loading branch information
ncullen93 committed Feb 16, 2024
1 parent a007ffa commit 76dabcd
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 23 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: push
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5

- name: Unit tests
run: tests/run_tests.sh --coverage

- name: Coverage
run: coveralls --service=github

- name: Coveralls
uses: coverallsapp/github-action@v2

coveralls_finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true
28 changes: 5 additions & 23 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,28 +41,6 @@ jobs:
arch: x86_64
platform_id: macosx_x86_64

# macOS on Apple M1 64-bit
# - os: macos-latest
# python: '3.8'
# cibw_python: 38
# arch: arm64
# platform_id: macosx_arm64
# - os: macos-latest
# python: '3.9'
# cibw_python: 39
# arch: arm64
# platform_id: macosx_arm64
# - os: macos-latest
# python: '3.10'
# cibw_python: 310
# arch: arm64
# platform_id: macosx_arm64
# - os: macos-latest
# python: '3.11'
# cibw_python: 311
# arch: arm64
# platform_id: macosx_arm64

steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -131,7 +109,11 @@ jobs:
if: startsWith(matrix.os, 'windows-')
run: |
python -m pip install --find-links=.\wheelhouse\cp${{ matrix.cibw_python }}-${{matrix.platform_id }} antspyx
tests\run_tests.ps1
tests\run_tests.sh --coverage
coveralls --service=github
- name: Coveralls
uses: coverallsapp/github-action@v2

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 76dabcd

Please sign in to comment.