Skip to content

Commit 5bafde9

Browse files
committed
Removed code-quality workflow, simplified publish workflow with make targets.
1 parent 45d9aeb commit 5bafde9

4 files changed

Lines changed: 8 additions & 52 deletions

File tree

.github/workflows/code-quality.yml

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

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
pip install build twine
2424
2525
- name: Build package
26-
run: python -m build
26+
run: make build
2727

2828
- name: Check distribution
29-
run: twine check dist/*
29+
run: make test-dist
3030

3131
- name: Publish to PyPI
3232
env:
3333
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3434
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
35-
run: twine upload dist/*
35+
run: make upload

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ jobs:
3131
- name: Run tests
3232
run: source ./env/bin/activate && make test python=python
3333

34+
- name: Check format and types
35+
run: make format
36+
3437
- name: Build package
35-
run: make build
38+
run: source ./env/bin/activate && make build
3639

3740
- name: Check distribution
38-
run: make test-dist
41+
run: source ./env/bin/activate && make test-dist
3942

4043
- name: Test installation from wheel
4144
run: |

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ env_uv:
2525
uv pip install -e .[dev] --python ${env}/bin/python
2626
${python} -m pre_commit install
2727

28-
env_conda:
29-
conda env create -f ./environment.yml -p ${env} --quiet
30-
${python} -m pre_commit install
31-
${python} -m pip install -e .
32-
33-
3428
## Development
3529

3630
update-format:

0 commit comments

Comments
 (0)