From 4a58e3a191a59553456465945f64f6dc75470734 Mon Sep 17 00:00:00 2001 From: Abel Carreras Date: Thu, 7 Nov 2024 10:46:21 +0100 Subject: [PATCH] test github actions --- .github/workflows/python-publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 8da158d..487b70f 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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 @@ -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: @@ -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: @@ -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