-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Testing update * Version bump for poetry installer * Try again * Downgrade ubuntu * Up again * Install poetry manually * Use Ubuntu 20 * Up python version * Also publish * Upped version
- Loading branch information
1 parent
7dbf7df
commit 4f6cdba
Showing
5 changed files
with
54 additions
and
58 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 |
---|---|---|
|
@@ -6,31 +6,28 @@ on: | |
jobs: | ||
test: | ||
name: Testing | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.6.10 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.6.10 | ||
- name: Install poetry | ||
uses: snok/[email protected] | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
- name: Install dependencies | ||
run: | | ||
poetry install | ||
- name: Lint test | ||
run: | | ||
poetry run flake8 | ||
- name: Unit and functional tests | ||
run: | | ||
poetry run pytest | ||
- name: Build | ||
run: | | ||
poetry build | ||
- name: Publish | ||
run: | | ||
poetry publish -u __token__ -p ${{ secrets.PYMONGOIM_PYPI_TOKEN }} | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.7 | ||
- name: Install and configure Poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
- name: Install dependencies | ||
run: | | ||
poetry install | ||
- name: Lint test | ||
run: | | ||
poetry run flake8 | ||
- name: Unit and functional tests | ||
run: | | ||
poetry run pytest | ||
- name: Build | ||
run: | | ||
poetry build | ||
- name: Publish | ||
run: | | ||
poetry publish -u __token__ -p ${{ secrets.PYMONGOIM_PYPI_TOKEN }} |
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 |
---|---|---|
|
@@ -4,24 +4,22 @@ on: [push] | |
jobs: | ||
test: | ||
name: Testing | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.6.10 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.6.10 | ||
- name: Install poetry | ||
uses: snok/[email protected] | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
- name: Install dependencies | ||
run: | | ||
poetry install | ||
- name: Lint test | ||
run: | | ||
poetry run flake8 | ||
- name: Unit and functional tests | ||
run: | | ||
poetry run pytest | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.7 | ||
- name: Install and configure Poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
- name: Install dependencies | ||
run: | | ||
poetry install | ||
- name: Lint test | ||
run: | | ||
poetry run flake8 | ||
- name: Unit and functional tests | ||
run: | | ||
poetry run pytest |
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 @@ | ||
3.6.10 | ||
3.7.16 |
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,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "pymongo_inmemory" | ||
version = "0.2.12" | ||
version = "0.2.13" | ||
description = "A mongo mocking library with an ephemeral MongoDB running in memory." | ||
authors = ["Kaizen Dorks <[email protected]>"] | ||
maintainers = [ | ||
|
@@ -14,7 +14,7 @@ homepage = "https://github.com/kaizendorks/pymongo_inmemory" | |
repository = "https://github.com/kaizendorks/pymongo_inmemory" | ||
keywords = ["mongodb", "testing", "pymongo"] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"License :: OSI Approved :: MIT License", | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
|
@@ -31,7 +31,7 @@ include = ["LICENSE"] | |
"Bug Reports" = "https://github.com/kaizendorks/pymongo_inmemory/issues" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" | ||
python = "^3.7" | ||
pymongo = "*" | ||
|
||
[tool.poetry.dev-dependencies] | ||
|