-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(debug): remove tests_only from tests
- Loading branch information
Dani Reinón
committed
Apr 29, 2022
1 parent
320739d
commit c8cbde7
Showing
4 changed files
with
53 additions
and
40 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,26 +6,29 @@ jobs: | |
test: | ||
name: Test / OS ${{ matrix.os }} / Python ${{ matrix.python-version }} | ||
strategy: | ||
max-parallel: 1 | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: [3.7, 3.8, 3.9, '3.10'] | ||
python-version: [3.7, 3.8, 3.9, "3.10"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Clone Repository | ||
uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Set up Poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.1.11 | ||
- name: Run Tests | ||
run: make run_tests | ||
- name: Upload Coverage | ||
uses: codecov/codecov-action@v1 | ||
- name: Clone Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Set up Poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.1.11 | ||
|
||
- name: Run Tests | ||
run: make run_tests | ||
|
||
- name: Upload Coverage | ||
uses: codecov/codecov-action@v1 | ||
|
||
publish: | ||
needs: test | ||
|
@@ -37,27 +40,32 @@ jobs: | |
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Create bump and changelog | ||
uses: commitizen-tools/commitizen-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: main | ||
changelog_increment_filename: body.md | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
body_path: body.md | ||
tag_name: ${{ env.REVISION }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Set up Poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.1.11 | ||
|
||
# - name: Publish | ||
# env: | ||
# PYPI_USERNAME: __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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,52 @@ | ||
[tool.poetry] | ||
name = "storage3" | ||
version = "0.2.0" | ||
authors = [ | ||
"Joel Lee <[email protected]>", | ||
"Leon Fedden <[email protected]>", | ||
"Daniel Reinón García <[email protected]>", | ||
"Leynier Gutiérrez González <[email protected]>", | ||
] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
description = "Supabase Storage client for Python." | ||
authors = ["Joel Lee <[email protected]>", "Leon Fedden <[email protected]>", "Daniel Reinón García <[email protected]>", "Leynier Gutiérrez González <[email protected]>"] | ||
homepage = "https://github.com/supabase-community/storage-py" | ||
repository = "https://github.com/supabase-community/storage-py" | ||
documentation = "https://github.com/supabase-community/storage-py" | ||
readme = "README.md" | ||
homepage = "https://github.com/supabase-community/storage-py" | ||
license = "MIT" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent" | ||
] | ||
name = "storage3" | ||
readme = "README.md" | ||
repository = "https://github.com/supabase-community/storage-py" | ||
version = "0.2.0" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.7" | ||
httpx = ">=0.19,<0.22" | ||
python = "^3.7" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest-asyncio = "^0.18.3" | ||
pre-commit = "^2.16.0" | ||
[tool.poetry.group.dev.dependencies] | ||
black = "^22.3.0" | ||
pytest = "^6.2.5" | ||
commitizen = "^2.20.3" | ||
flake8 = "^4.0.1" | ||
isort = "^5.9.3" | ||
pre-commit = "^2.16.0" | ||
pytest = "^6.2.5" | ||
pytest-asyncio = "^0.18.3" | ||
pytest-cov = "^3.0.0" | ||
commitizen = "^2.20.3" | ||
unasync-cli = "^0.0.9" | ||
python-dotenv = "^0.20.0" | ||
unasync-cli = "^0.0.9" | ||
|
||
[tool.commitizen] | ||
name = "cz_conventional_commits" | ||
tag_format = "v$version" | ||
version = "0.1.0" | ||
version_files = [ | ||
"storage3/utils.py", | ||
"pyproject.toml:version" | ||
"storage3/utils.py", | ||
"pyproject.toml:version", | ||
] | ||
tag_format = "v$version" | ||
|
||
[tool.pytest.ini_options] | ||
asyncio_mode = "auto" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["poetry-core>=1.0.0"] |