Skip to content

Commit

Permalink
ci: coveralls, pipx, and allow workflow_dispatch (#532)
Browse files Browse the repository at this point in the history
* ci: pipx and allow workflow_dispatch

* fix: coveralls 3 detection broken

TheKevJames/coveralls-python#252
  • Loading branch information
henryiii authored Jan 17, 2021
1 parent 9883fc8 commit f817e62
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CI

on:
workflow_dispatch:
push:
branches:
- master
Expand Down Expand Up @@ -65,7 +66,7 @@ jobs:

- name: Upload coverage
if: matrix.python-version != '2.7' && matrix.python-version != 'pypy-2.7'
run: coveralls
run: coveralls --service=github
env:
COVERALLS_PARALLEL: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -77,11 +78,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: python -m pip install build
- name: Build SDist and wheel
run: python -m build
run: pipx run --spec build pyproject-build
- uses: actions/upload-artifact@v2
with:
path: dist/*
Expand Down

0 comments on commit f817e62

Please sign in to comment.