Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
segevfiner committed Nov 3, 2022
1 parent ae30e6c commit 1b8d715
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Expand Up @@ -54,6 +54,8 @@ jobs:
- name: Install
run: |
pip install -e .[dev]
env:
SETUPTOOLS_ENABLE_FEATURES=legacy-editable
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Expand Up @@ -24,6 +24,8 @@ jobs:
- name: Install
run: |
pip install -e .[dev]
env:
SETUPTOOLS_ENABLE_FEATURES=legacy-editable
- name: Build documentation
run: |
make html
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/wheels.yml
Expand Up @@ -4,9 +4,8 @@ on:
push:
branches:
- master
release:
types:
- published
tags:
- 'v[0-9].*'

jobs:
build_wheels:
Expand Down Expand Up @@ -35,6 +34,8 @@ jobs:
uses: pypa/cibuildwheel@v2.11.2
env:
CIBW_SKIP: 'pp* *-musllinux* *linux_i686'
CIBW_ENVIRONMENT: >
SETUPTOOLS_ENABLE_FEATURES=legacy-editable
CIBW_BEFORE_ALL_LINUX: >
curl -fsSL https://github.com/moparisthebest/static-curl/releases/download/v7.81.0/curl-amd64 -o /usr/local/bin/curl &&
chmod +x /usr/local/bin/curl &&
Expand All @@ -51,15 +52,15 @@ jobs:
with:
output-dir: dist

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: dist/*

upload_release:
name: Upload release
needs: [build_wheels]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
if: startsWith(github.ref, 'refs/tags/')

steps:
- uses: actions/download-artifact@v3
Expand Down

0 comments on commit 1b8d715

Please sign in to comment.