Skip to content

Commit

Permalink
Merge pull request #244 from pyiron/no-build-isolation
Browse files Browse the repository at this point in the history
Test pip no-build-isolation option
  • Loading branch information
jan-janssen authored Nov 27, 2023
2 parents 89aa6be + 0e54e18 commit 9b15f24
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
- name: Test
shell: bash -l {0}
run: |
pip install --no-deps .
pip install versioneer[toml]==0.29
pip install . --no-deps --no-build-isolation
coverage run --omit pysqa/_version.py -m unittest discover tests
coverage combine
- name: Coveralls
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,23 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: conda-incubator/setup-[email protected]
with:
python-version: "3.11"
- name: Install dependencies
run: python -m pip install --user --upgrade jinja2 pandas pyyaml setuptools wheel versioneer
python-version: 3.11
mamba-version: "*"
channels: conda-forge
miniforge-variant: Mambaforge
channel-priority: strict
auto-update-conda: true
environment-file: .ci_support/environment.yml
- name: Convert dependencies
run: |
cp .ci_support/environment-old.yml environment.yml
python .ci_support/release.py; cat pyproject.toml
- name: Build
run: python setup.py sdist bdist_wheel
shell: bash -l {0}
run: |
pip install versioneer[toml]==0.29
python setup.py sdist bdist_wheel
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
3 changes: 2 additions & 1 deletion .github/workflows/mini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ jobs:
- name: Test
shell: bash -l {0}
run: |
pip install --no-deps .
pip install versioneer[toml]==0.29
pip install . --no-deps --no-build-isolation
python -m unittest discover tests
3 changes: 2 additions & 1 deletion .github/workflows/pypicheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ jobs:
- name: Pip check
shell: bash -l {0}
run: |
pip install --no-deps .
pip install versioneer[toml]==0.29
pip install . --no-deps --no-build-isolation
pip check
3 changes: 2 additions & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@ jobs:
- name: Test
shell: bash -l {0}
run: |
pip install --no-deps .
pip install versioneer[toml]==0.29
pip install . --no-deps --no-build-isolation
python -m unittest discover tests
3 changes: 2 additions & 1 deletion .github/workflows/unittests_old.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ jobs:
- name: Test
shell: bash -l {0}
run: |
pip install --no-deps .
pip install versioneer[toml]==0.29
pip install . --no-deps --no-build-isolation
python -m unittest discover tests

0 comments on commit 9b15f24

Please sign in to comment.