From 850184c9ec33d6507ac1b12b5ede498273ffccb9 Mon Sep 17 00:00:00 2001 From: liamhuber <liamhuber@greyhavensolutions.com> Date: Tue, 14 May 2024 21:00:14 -0700 Subject: [PATCH] Use mock release --- .github/workflows/preview_release.yml | 57 ++++----------------------- 1 file changed, 7 insertions(+), 50 deletions(-) diff --git a/.github/workflows/preview_release.yml b/.github/workflows/preview_release.yml index e20aa03d3..0dca5c593 100644 --- a/.github/workflows/preview_release.yml +++ b/.github/workflows/preview_release.yml @@ -4,54 +4,11 @@ name: Preview Release on: pull_request: - jobs: - preview: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Setup Mambaforge - uses: conda-incubator/setup-miniconda@v3 - with: - python-version: '3.10' - 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/dummy.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 -# - uses: pyiron/actions/update-pyproject-dependencies@main -# with: -# lower-bound-yaml: .ci_support/lower_bound.yml -# semantic-upper-bound: minor -# pypi-to-conda-name-map-file: .ci_support/pypi_vs_conda_names.json -# - name: Preview -# shell: bash -l {0} -# run: | -# cat pyproject.toml - - name: Build - shell: bash -l {0} - run: | - python setup.py sdist bdist_wheel \ No newline at end of file + pyiron: + uses: pyiron/actions/.github/workflows/pyproject-release.yml@mock_release + secrets: inherit + with: + semantic-upper-bound: 'minor' + lower-bound-yaml: '.ci_support/lower_bound.yml' + publish-to-pypi: false \ No newline at end of file