-
Notifications
You must be signed in to change notification settings - Fork 3
Added github workflow action to deploy changes on "push" #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 5 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
26308e6
Update requirements.txt
kgashok aff4b55
Create main.yml
kgashok 59b6be3
Update where_to_put_tests.rst
kgashok a8c538a
Create autopep8.yml
kgashok 96e9c05
Delete autopep8.yml
kgashok d7d1732
Create flake.yml
kgashok bcb710d
Update flake.yml
kgashok bfe9ee1
Update and rename flake.yml to flake8.yml
kgashok 0687cf6
Update flake8.yml
kgashok 1ae258d
Update flake8.yml
kgashok 88bf9a9
Update flake8.yml
kgashok 3d22907
Update flake8.yml
kgashok 440678a
Update flake8.yml
kgashok 75ef457
Update flake8.yml
kgashok File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,41 @@ | ||
name: Python package | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
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 flake8 pytest | ||
if [ -f Sources/requirements.txt ]; then pip install -r Sources/requirements.txt; fi | ||
# - name: Lint with flake8 | ||
# run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
#- name: Test with pytest | ||
# run: | | ||
# pytest | ||
- name: Build static site | ||
run: | | ||
cd ./Sources; make html | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./Sources/build/html |
This file contains hidden or 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,11 +1,10 @@ | ||
Jinja2==2.7.2 | ||
MarkupSafe==0.19 | ||
Pygments==1.6 | ||
Sphinx==1.2.2 | ||
docutils==0.11 | ||
sphinx-rtd-theme==0.1.6 | ||
gnureadline==6.2.5 | ||
# hieroglyph==0.7.dev | ||
-e git+https://github.com/nyergler/hieroglyph.git#egg=hieroglyph | ||
ipython==2.3.0 | ||
libsass==0.5.1 | ||
Jinja2 | ||
MarkupSafe | ||
Pygments | ||
Sphinx | ||
docutils | ||
sphinx-rtd-theme | ||
gnureadline | ||
hieroglyph | ||
ipython | ||
libsass |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why these? They'd be pretty common for actual code, but in this case, we're only building Shinx docs.