Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-miniconda@v2.2.0
with:
python-version: "3.11"
- name: Install dependencies
run: python -m pip install --user --upgrade ase numpy scipy setuptools versioneer wheel
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 @@ -32,5 +32,6 @@ jobs:
shell: bash -l {0}
timeout-minutes: 30
run: |
python -m 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: |
python -m pip install --no-deps .
pip install versioneer[toml]==0.29
pip install . --no-deps --no-build-isolation
python -m pip check
3 changes: 2 additions & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ jobs:
shell: bash -l {0}
timeout-minutes: 30
run: |
python -m pip install --no-deps .
pip install versioneer[toml]==0.29
pip install . --no-deps --no-build-isolation
coverage run --omit structuretoolkit/_version.py -m unittest discover tests
- name: Coverage
if: matrix.label == 'linux-64-py-3-10'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unittests_old.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ jobs:
shell: bash -l {0}
timeout-minutes: 30
run: |
python -m pip install --no-deps .
pip install versioneer[toml]==0.29
pip install . --no-deps --no-build-isolation
python -m unittest discover tests