diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0198b82..9dce2092 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,12 +13,12 @@ on: description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' required: false default: false - push: - paths-ignore: - - "docs/**" - pull_request: - branches: - - "*" +# push: +# paths-ignore: +# - "docs/**" +# pull_request: +# branches: +# - "*" jobs: pre-commit: @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.12' - uses: pre-commit/action@v3.0.1 build-scratch: diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index b7747374..65701994 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -6,6 +6,9 @@ name: Push wheels to pypi on: push: + pull_request: + branches: + - "*" # release: # types: [ published ] @@ -89,6 +92,12 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + + - run: python setup.py sdist + - uses: actions/download-artifact@v4 with: name: | @@ -98,13 +107,6 @@ jobs: wheels-macos-12-arm64/ path: dist - - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python }} - - - name: Build Source - run: python setup.py sdist - - run: ls dist/ # - name: Publish to PyPi test