Skip to content

Commit

Permalink
Update publish workflow to use build or setuptools instead of flit.
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfG committed Apr 16, 2024
1 parent 0a063f2 commit 41cb3fe
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,22 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"

- name: Install dependencies
run: |
python -m pip install --upgrade pip flit pytest
python -m pip install --upgrade pip
pip install build
- name: Build
run: flit build
- name: Build
run: python -m build --sdist --wheel .

- name: Install
- name: Install wheel
run: pip install dist/psm_utils-*.whl

- name: Test package
- name: Test wheel
run: |
pytest
Expand Down

0 comments on commit 41cb3fe

Please sign in to comment.