-
Notifications
You must be signed in to change notification settings - Fork 4
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
1 parent
571e291
commit 7a950d2
Showing
9 changed files
with
363 additions
and
42 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
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 |
---|---|---|
|
@@ -21,13 +21,13 @@ jobs: | |
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: actions/checkout@v2.4.0 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2.2.2 | ||
uses: actions/setup-python@v2.3.1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Cache pip | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} | ||
|
@@ -38,20 +38,20 @@ jobs: | |
pip install . | ||
- name: Test with pytest | ||
run: | | ||
pytest tests/test_api.py --api_key ${{ secrets.CODEFORCES_API_KEY }} --api_secret ${{ secrets.CODEFORCES_API_SECRET }} -v | ||
pytest tests/ --api_key ${{ secrets.CODEFORCES_API_KEY }} --api_secret ${{ secrets.CODEFORCES_API_SECRET }} -v | ||
publish: | ||
if: startsWith(github.ref, 'refs/tags/') | ||
needs: test | ||
name: Build and publish Python 🐍 distributions 📦 to PyPI | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: actions/checkout@v2.4.0 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2.2.2 | ||
uses: actions/setup-python@v2.3.1 | ||
with: | ||
python-version: 3.9 | ||
- name: Cache pip | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} | ||
|
@@ -65,7 +65,7 @@ jobs: | |
run: | | ||
python setup.py sdist | ||
- name: Publish distribution 📦 to PyPI | ||
uses: pypa/gh-action-pypi-publish@v1.4.2 | ||
uses: pypa/gh-action-pypi-publish@v1.5.0 | ||
with: | ||
password: ${{ secrets.pypi_password }} | ||
release: | ||
|
@@ -75,7 +75,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v2.4.0 | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/[email protected] | ||
|
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
!tests/ | ||
tests/* | ||
!tests/test_api.py | ||
!tests/test_api_auth.py | ||
!tests/conftest.py | ||
|
||
!codeforces_api/ | ||
|
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 @@ | ||
__version__ = "2.0.8" | ||
__version__ = "2.0.9" |
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,45 +1,47 @@ | ||
appdirs==1.4.4 | ||
astroid==2.5.7 | ||
astroid==2.8.5 | ||
atomicwrites==1.4.0 | ||
attrs==21.2.0 | ||
black==21.5b2 | ||
bleach==3.3.0 | ||
certifi==2021.5.30 | ||
black==21.12b0 | ||
bleach==4.1.0 | ||
certifi==2021.10.8 | ||
chardet==4.0.0 | ||
click==8.0.1 | ||
charset-normalizer==2.0.9 | ||
click==8.0.3 | ||
colorama==0.4.4 | ||
docutils==0.17.1 | ||
docutils==0.18.1 | ||
idna==2.10 | ||
importlib-metadata==4.5.0 | ||
importlib-metadata==4.8.2 | ||
iniconfig==1.1.1 | ||
isort==5.8.0 | ||
keyring==23.0.1 | ||
isort==5.10.1 | ||
keyring==23.3.0 | ||
lazy-object-proxy==1.6.0 | ||
lxml==4.6.5 | ||
mccabe==0.6.1 | ||
mypy-extensions==0.4.3 | ||
packaging==20.9 | ||
pathspec==0.8.1 | ||
pkginfo==1.7.0 | ||
pluggy==0.13.1 | ||
py==1.10.0 | ||
Pygments==2.9.0 | ||
pylint==2.8.2 | ||
pyparsing==2.4.7 | ||
pytest==6.2.4 | ||
packaging==21.3 | ||
pathspec==0.9.0 | ||
pkginfo==1.8.2 | ||
pluggy==1.0.0 | ||
py==1.11.0 | ||
Pygments==2.10.0 | ||
pylint==2.11.1 | ||
pyparsing==3.0.6 | ||
pytest==6.2.5 | ||
pywin32-ctypes==0.2.0 | ||
readme-renderer==29.0 | ||
regex==2021.4.4 | ||
requests==2.25.1 | ||
readme-renderer==30.0 | ||
regex==2021.11.10 | ||
requests==2.26.0 | ||
requests-toolbelt==0.9.1 | ||
rfc3986==1.5.0 | ||
six==1.16.0 | ||
toml==0.10.2 | ||
tqdm==4.61.0 | ||
twine==3.4.1 | ||
typed-ast==1.4.3 | ||
typing-extensions==3.10.0.0 | ||
urllib3==1.26.5 | ||
tomli==1.2.2 | ||
tqdm==4.62.3 | ||
twine==3.7.1 | ||
typed-ast==1.5.1 | ||
typing-extensions==4.0.1 | ||
urllib3==1.26.7 | ||
webencodings==0.5.1 | ||
wrapt==1.12.1 | ||
zipp==3.4.1 | ||
wrapt==1.13.3 | ||
zipp==3.6.0 |
Oops, something went wrong.