Skip to content

Commit abfd9aa

Browse files
committed
CI: Update build steps in workflows
1 parent 611ae10 commit abfd9aa

File tree

5 files changed

+7
-14
lines changed

5 files changed

+7
-14
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ jobs:
4646
- checkout
4747
- run:
4848
name: Install deps
49-
command: pip install --no-cache-dir -r docs/requirements.txt
49+
command: |
50+
pip install --upgrade pip
51+
pip install --no-cache-dir .[doc]
5052
- run:
5153
name: Build only this commit
5254
command: make -C docs SPHINXOPTS="-W" BUILDDIR="_build/no_version_html" SPHINX_APIDOC_OPTIONS="members,undoc-members,show-inheritance,noindex" html

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip
23-
pip install setuptools wheel twine
23+
pip install build twine
2424
2525
- name: Build and publish
2626
env:
2727
TWINE_USERNAME: __token__
2828
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
2929
run: |
30-
python setup.py bdist_wheel
30+
python -m build
3131
twine upload dist/*

.github/workflows/testsingularity.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
with:
5454
python-version: ${{ matrix.python-version }}
5555
- name: Update build tools
56-
run: python -m pip install --upgrade pip setuptools
56+
run: python -m pip install --upgrade pip
5757

5858

5959
- name: Checkout Pydra repo

.github/workflows/testslurm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
docker exec slurm bash -c "echo $NO_ET"
3939
docker exec slurm bash -c "ls -la && echo list top level dir"
4040
docker exec slurm bash -c "ls -la /pydra && echo list pydra dir"
41-
docker exec slurm bash -c "pip install -e /pydra[test] && python -c 'import pydra; print(pydra.__version__)'"
41+
docker exec slurm bash -c "pip install --upgrade pip && pip install -e /pydra[test] && python -c 'import pydra; print(pydra.__version__)'"
4242
- name: Run pytest
4343
run: docker exec slurm bash -c "pytest --color=yes -vs -n auto --cov pydra --cov-config /pydra/.coveragerc --cov-report xml:/pydra/cov.xml --doctest-modules /pydra/pydra"
4444
- name: Upload to codecov

docs/requirements.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)