Skip to content

Commit

Permalink
Fix setup of MacOS targets in GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Jan 9, 2025
1 parent fe11602 commit 40a8e48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-apple-darwin
- name: Build manylinux wheels
uses: pypa/cibuildwheel@v2.22.0
env:
Expand All @@ -73,6 +75,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-apple-darwin
- name: Build manylinux wheels
uses: pypa/cibuildwheel@v2.22.0
env:
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand All @@ -47,7 +45,7 @@ jobs:
- name: Build extension
run: python -m pip install --no-build-isolation -e . -v
- name: Test extension with coverage
run: python -m coverage run -m unittest discover -vv
run: python -m coverage run -m unittest sphinxcontrib.svgbob.tests -vv
- name: Export coverage reports
run: python -m coverage xml
- name: Upload coverage statistics
Expand Down Expand Up @@ -85,8 +83,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand All @@ -98,7 +94,7 @@ jobs:
- name: Build extension
run: python -m pip install --no-build-isolation -e . -v
- name: Test extension with coverage
run: python -m coverage run -m unittest discover -vv
run: python -m coverage run -m unittest sphinxcontrib.svgbob.tests -vv
- name: Export coverage reports
run: python -m coverage xml
- name: Upload coverage statistics
Expand Down Expand Up @@ -148,7 +144,7 @@ jobs:
# - name: Build extension
# run: python setup.py build_ext --inplace --debug
# - name: Test extension with coverage
# run: python -m coverage run -m unittest discover -vv
# run: python -m coverage run -m unittest sphinxcontrib.svgbob.tests -vv
# - name: Export coverage reports
# run: python -m coverage xml
# - name: Upload coverage statistics
Expand Down

0 comments on commit 40a8e48

Please sign in to comment.