Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of your workflow files
schedule:
interval: "weekly" # Options: daily, weekly, monthly
6 changes: 5 additions & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Lint with Black
permissions:
contents: read

on: [push, pull_request]

Expand All @@ -7,4 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
persist-credentials: false
- uses: psf/black@8a737e727ac5ab2f1d4cf5876720ed276dc8dc4b # 25.1.0
6 changes: 5 additions & 1 deletion .github/workflows/check-test-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Coverage (with doctests)
permissions:
contents: read
on:
push:
branches: [ master ]
Expand All @@ -10,6 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@v2
with:
Expand All @@ -23,7 +27,7 @@ jobs:
export MPL_IMGCOMP_TOLERANCE=20
coverage run -m pytest --mpl --doctest-glob="probscale/*.py" --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192 # v1
with:
# directory: ./coverage/reports/
flags: unittests
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Publish Python Package
permissions:
contents: read

on:
release:
Expand All @@ -14,6 +16,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/python-runlinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Lint with flake8
permissions:
contents: read

on:
push:
Expand All @@ -15,6 +17,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/python-runtests-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Run units test (w/ img comps)
permissions:
contents: read

on:
push:
Expand All @@ -19,6 +21,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand Down
Loading