Skip to content

Commit

Permalink
test github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcarreras committed Nov 7, 2024
1 parent bc602fd commit 4a58e3a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
if: github.ref == 'refs/heads/master'
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -49,7 +48,7 @@ jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
# needs: [ test_code ]
needs: [ test_code ]
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/test_wheels'
strategy:
matrix:
Expand Down Expand Up @@ -90,7 +89,7 @@ jobs:

build_sdist:
name: Build source distribution
# needs: [ test_code ]
needs: [ test_code ]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/test_wheels'
steps:
Expand All @@ -101,7 +100,7 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install numpy
python -m pip install numpy setuptools
- name: Build sdist
run: |
python setup.py sdist
Expand Down

0 comments on commit 4a58e3a

Please sign in to comment.