Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Feb 19, 2024
1 parent ef42b18 commit 580dd20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dependencies
- name: Install test dependencies
run: |
python -m pip install --upgrade pip setuptools build
python -m pip install .[test]
pip install .[test]
- name: Test with pytest
run: |
pytest --cov=fronts
Expand All @@ -46,9 +45,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
- name: Install build package
run: |
python -m pip install --upgrade pip setuptools build
pip install --upgrade build
- name: Check package build
run: |
python -m build
4 changes: 2 additions & 2 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
- name: Install build package
run: |
python -m pip install --upgrade pip setuptools build
pip install --upgrade build
- name: Check version number
run: |
TAG="${GITHUB_REF#refs/tags/}"
Expand Down

0 comments on commit 580dd20

Please sign in to comment.