Skip to content

Commit

Permalink
Work as directly as possible for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
liamhuber committed May 14, 2024
1 parent 53ca868 commit ed4a3d9
Showing 1 changed file with 37 additions and 8 deletions.
45 changes: 37 additions & 8 deletions .github/workflows/preview_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,53 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pyiron/actions/cached-miniforge@no_build_isolation
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.10'
env-files: .ci_support/environment.yml
python-version: '3.12'
miniforge-variant: Mambaforge
miniforge-version: latest
channels: conda-forge
channel-priority: strict
activate-environment: my-env
use-mamba: true
- name: Update environment
shell: bash -l {0}
run: mamba env update -n my-env -f .ci_support/environment.yml
- name: Conda list
shell: bash -l {0}
run: conda list
- name: Peek
shell: bash -l {0}
run: |
which pip
which python
ls
cat pyproject.toml
cat setup.py
- name: Install versioneer
shell: bash -l {0}
run: |
pip install versioneer[toml]==0.29
- name: Install local code without build isolation
shell: bash -l {0}
run: |
pip install --no-deps . --no-build-isolation
- name: Install local code with build isolation
if: inputs.no-build-isolation != 'true'
shell: bash -l {0}
run: |
pip install --no-deps ${{ inputs.local-code-directory }}
- uses: pyiron/actions/update-pyproject-dependencies@main
with:
lower-bound-yaml: .ci_support/lower_bound.yml
semantic-upper-bound: minor
output-toml: preview.toml
pypi-to-conda-name-map-file: .ci_support/pypi_vs_conda_names.json
- name: Preview
shell: bash -l {0}
run: |
cat preview.toml
which pip
which python
cat pyproject.toml
- name: Build
shell: bash -l {0}
run: |
pip install versioneer[toml]==0.29
python setup.py sdist bdist_wheel

0 comments on commit ed4a3d9

Please sign in to comment.