Skip to content

Commit

Permalink
remove useless step from pytest workflow and update build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mscheltienne committed Jun 1, 2022
1 parent 252c3f4 commit d1e2866
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --progress-bar off --upgrade pip setuptools wheel
python -m pip install --progress-bar off build
python -m pip install --progress-bar off .[build]
- name: Test package install
run: python -c "import template; print(template.__version__)"
- name: Remove package install
run: python -m pip uninstall -y template
- name: Build package
run: python -m build
- name: Install sdist
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,5 @@ jobs:
run: |
python -m pip install --progress-bar off --upgrade pip setuptools wheel
python -m pip install --progress-bar off .[test]
- name: Install dependencies
run: |
python -m pip install --progress-bar off pytest pytest-cov
- name: Run pytest
run: pytest template --cov=template --cov-report=xml --verbose

0 comments on commit d1e2866

Please sign in to comment.