-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis Fix, Github Actions, heroku fix (#432)
* Travis Fix, Github Actions, heroku fix - Fix travis-ci - Add github actions ci - Remove 2.7, 3.5 from ci - Add 3.6, 3.7, 3.8, 3.9 to ci - Various requirements changes to support current python & fix tests - Fix flake8 errors - Bumped Heroku to python-3.9.2. I tested heroku with 3.6, 3.7, 3.8, 3.9 all with the new slack_update and it worked. Travis is migrating away from travis-ci.org to travis-ci.com and changing how the free tier works. I would support moving away from travis and embracing github actions. But it doesn't hurt anything to run both for now. * Removed duplicate comment * Removed redundant pip installs * - Pin natural to github version - exclude flake8 for natural * Pin natural to github commit
- Loading branch information
1 parent
0e88901
commit 40c1102
Showing
9 changed files
with
51 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Python package | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- 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 -r will/requirements/dev.txt | ||
pip install tox-gh-actions | ||
- name: Test with tox | ||
run: tox |
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 +1 @@ | ||
python-2.7.3 | ||
python-3.9.2 |
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,27 +1,29 @@ | ||
APScheduler==2.1.2 | ||
beautifulsoup4==4.6.0 | ||
bottle==0.12.7 | ||
CherryPy==3.6.0 | ||
bottle==0.12.19 | ||
CherryPy==8.9.1 | ||
clint==0.5.1 | ||
dill==0.3.3 | ||
dnspython==1.15.0 | ||
fuzzywuzzy==0.15.1 | ||
Jinja2==2.7.3 | ||
Markdown==2.3.1 | ||
Markdown==3.3.4 | ||
MarkupSafe==0.23 | ||
# Pin natural to repo since release is not updated | ||
-egit+git://github.com/tehmaze/natural.git@4d41ed6708965420ad884339e0e9ca5f089b2202#egg=natural | ||
# Temporary fork of natural, until python 3 support is merged: https://github.com/tehmaze/natural/pull/13 | ||
# natural==0.2.1 | ||
will-natural==0.2.1.1 | ||
# will-natural==0.2.1.1 | ||
parsedatetime==1.1.2 | ||
python-Levenshtein==0.12.1 | ||
pyasn1-modules==0.0.5 | ||
pyasn1==0.1.7 | ||
pycrypto==2.6.1 | ||
pygerduty==0.28 | ||
pytz==2017.2 | ||
PyYAML==3.13 | ||
pytz==2021.1 | ||
PyYAML==5.4.1 | ||
regex==2017.9.23 | ||
redis==2.10.6 | ||
requests==2.25.0 | ||
six==1.15.0 | ||
urllib3==1.25.10 | ||
websocket-client==0.44.0 |
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ nose | |
coverage | ||
yappi | ||
tox | ||
pytest==4.6.6 | ||
pytest==6.2.2 | ||
pytest-cov | ||
pytest-mock | ||
freezegun |
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