-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
1,102 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG] " | ||
labels: bug | ||
assignees: "" | ||
--- | ||
|
||
**Describe the bug** A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** Steps to reproduce the behavior: | ||
|
||
1. | ||
|
||
**Expected behavior** A clear and concise description of what you expected to | ||
happen. | ||
|
||
**Error log** If applicable, add an error log or screenshots to help explain | ||
your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
|
||
- OS: [e.g. iOS] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[REQUEST] " | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** A clear and | ||
concise description of what the problem is. [Example: "I'm always frustrated | ||
when ..."] | ||
|
||
**Describe the solution you'd like** A clear and concise description of what | ||
you want to happen. | ||
|
||
**Describe alternatives you've considered** A clear and concise description of | ||
any alternative solutions or features you've considered. | ||
|
||
**Additional context** Add any other context or screenshots about the feature | ||
request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
# cspell:ignore noreply pypa sdist | ||
|
||
name: CD | ||
|
||
on: | ||
create: | ||
tags: | ||
- "[0-9]+.[0-9]+.[0-9]+*" | ||
|
||
jobs: | ||
test: | ||
name: Run pytest | ||
if: startsWith(github.ref, 'refs/tags') | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- macos-10.15 | ||
- ubuntu-18.04 | ||
python-version: [3.6, 3.7, 3.8] | ||
exclude: | ||
- os: macos-10.15 | ||
python-version: 3.6 | ||
- os: macos-10.15 | ||
python-version: 3.8 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install .[test] | ||
- name: Test with pytest | ||
env: | ||
PYTEST_RUN_SLOW_TESTS: YES | ||
run: pytest -n auto | ||
|
||
documentation: | ||
name: Build documentation and run notebooks | ||
if: startsWith(github.ref, 'refs/tags') | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install .[doc] | ||
sudo apt-get -y install pandoc graphviz | ||
- name: Build documentation and run notebooks | ||
working-directory: docs | ||
env: | ||
EXECUTE_NB: YES | ||
run: make html | ||
- name: Test doctests in docstrings | ||
working-directory: docs | ||
run: make ignore-warnings=1 doctest | ||
|
||
style: | ||
name: Style checks | ||
if: startsWith(github.ref, 'refs/tags') | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install .[dev] | ||
sudo npm install -g cspell markdownlint-cli pyright | ||
- name: Perform style checks | ||
run: tox -e sty | ||
- name: Check spelling | ||
run: cspell $(git ls-files) | ||
- name: Lint Markdown files | ||
run: markdownlint . | ||
- name: Run pyright | ||
run: pyright | ||
|
||
push: | ||
name: Push to stable branch | ||
if: startsWith(github.ref, 'refs/tags') | ||
runs-on: ubuntu-18.04 | ||
needs: | ||
- documentation | ||
- style | ||
- test | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Push to stable branch | ||
run: | | ||
git config --global user.name "GitHub Action" | ||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git push origin HEAD:refs/heads/stable -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# cspell:ignore prebuilds | ||
|
||
tasks: | ||
- init: pip install -e .[dev] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# How to contribute? | ||
|
||
See instructions at | ||
[pwa.readthedocs.io/develop](https://pwa.readthedocs.io/develop.html)! |
Oops, something went wrong.