Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
tandav committed Mar 12, 2023
1 parent 6d684ba commit 0443f24
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/ci.yml
@@ -1,6 +1,6 @@
name: ci

on: push
on: ["push", "pull_request"]

permissions:
contents: write
Expand Down Expand Up @@ -34,9 +34,28 @@ jobs:
- name: doctest
run: python3 -m doctest docs/reference.md

- name: Upload coverage data to coveralls.io
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.python_version }}
COVERALLS_PARALLEL: true
# - name: pre-commit
# run: pre-commit run --all-files

coveralls:
name: Indicate completion to coveralls.io
needs: test
runs-on: ubuntu-latest
container: python:3-slim
steps:
- name: Finished
run: |
pip3 install --upgrade coveralls
coveralls --service=github --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish-to-pypi-and-github-release:
if: "startsWith(github.ref, 'refs/tags/')"
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Expand Up @@ -18,6 +18,7 @@ dev = [
"hypothesis",
"pytest",
"pytest-cov",
"coveralls",
"mkdocs",
"mkdocs-material",
]
Expand Down

0 comments on commit 0443f24

Please sign in to comment.