-
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
20 changed files
with
114 additions
and
49 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,8 +1,9 @@ | ||
name: Functional tests | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '00 6 * * 2' | ||
- cron: "00 6 * * 2" | ||
|
||
jobs: | ||
functional: | ||
|
@@ -13,17 +14,19 @@ jobs: | |
network: | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python 3.10 | ||
uses: actions/[email protected] | ||
with: | ||
python-version: 3.10 | ||
|
||
- name: Installing dependencies | ||
run: | | ||
sudo pip install -r requirements.txt -r requirements-dev.txt | ||
- run: | | ||
bash test.sh ${{ matrix.network }} |
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 |
---|---|---|
|
@@ -26,21 +26,27 @@ jobs: | |
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Installing dependencies | ||
run: | | ||
sudo apt-get install libxml2-dev libxslt-dev | ||
sudo pip install -r requirements.txt -r requirements-dev.txt | ||
- name: Measuring coverage | ||
env: | ||
TOXENV: ${{ matrix.toxenv }} | ||
PYTHON_VERSION: ${{ matrix.python-version }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
tox -e ${TOXENV} | ||
- name: Coveralls Parallel | ||
uses: coverallsapp/github-action@master | ||
with: | ||
|
@@ -54,11 +60,11 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
needs: unit | ||
steps: | ||
- name: Coveralls Finished | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true | ||
- name: Coveralls Finished | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true | ||
|
||
approve: | ||
name: Approve pull request | ||
|
@@ -84,4 +90,4 @@ jobs: | |
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
pull_number: context.payload.pull_request.number | ||
}) | ||
}) |
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 |
---|---|---|
|
@@ -22,21 +22,25 @@ jobs: | |
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Installing dependencies | ||
run: | | ||
sudo apt-get install libxml2-dev libxslt-dev | ||
sudo pip install -r requirements.txt -r requirements-dev.txt | ||
- name: Measuring coverage | ||
env: | ||
TOXENV: ${{ matrix.toxenv }} | ||
PYTHON_VERSION: ${{ matrix.python-version }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
tox -e ${TOXENV} | ||
- name: Coveralls Parallel | ||
uses: coverallsapp/github-action@master | ||
with: | ||
|
@@ -50,8 +54,8 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
needs: build | ||
steps: | ||
- name: Coveralls Finished | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true | ||
- name: Coveralls Finished | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true |
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 |
---|---|---|
|
@@ -82,7 +82,7 @@ servedocs: docs start | |
@$(exec_on_docker) watchmedo shell-command -p '*.rst' -c 'make -C docs html' -R -D . | ||
|
||
release: clean start dist | ||
@$(exec_on_docker) twine upload -s -i [email protected] dist/* | ||
@$(exec_on_docker) twine upload dist/* | ||
|
||
dist: clean start | ||
@$(exec_on_docker) python3 -m build | ||
|
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,7 +21,7 @@ | |
|
||
__author__ = 'Luis Alejandro Martínez Faneyth' | ||
__email__ = '[email protected]' | ||
__version__ = '1.0.0' | ||
__version__ = '1.0.1' | ||
__url__ = 'https://github.com/LuisAlejandro/agoras' | ||
__description__ = ('A command line python utility to manage your social' | ||
' networks (Twitter, Facebook, LinkedIn and Instagram)') |
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
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,18 +1,19 @@ | ||
[bumpversion] | ||
current_version = 0.1.0 | ||
current_version = 1.0.1 | ||
tag_name = {new_version} | ||
commit = True | ||
tag = True | ||
|
||
[bumpversion:file:README.rst] | ||
|
||
[bumpversion:file:README.short.rst] | ||
|
||
[bumpversion:file:agoras/__init__.py] | ||
|
||
[flake8] | ||
max-line-length = 120 | ||
max-complexity = 12 | ||
max-complexity = 15 | ||
doctests = True | ||
|
||
[bdist_wheel] | ||
universal = 1 | ||
|
||
[bumpversion:file:README.rst] | ||
|
||
[bumpversion:file:agoras/__init__.py] | ||
|
Oops, something went wrong.