Skip to content

Commit

Permalink
Add PyPI to pull request testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudo-rnd-thoughts committed Sep 25, 2024
1 parent b18c424 commit b8144c1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ name: Push wheels to pypi

on:
push:
pull_request:
branches:
- "*"
# release:
# types: [ published ]

Expand Down Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit b8144c1

Please sign in to comment.