Skip to content

Commit 94d0318

Browse files
committed
remove coverage deps
1 parent 1d25af4 commit 94d0318

File tree

7 files changed

+23
-43
lines changed

7 files changed

+23
-43
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
runs-on: ubuntu-latest
1313
env:
1414
PYTHON_ENV: ci
15-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1615
METABLOCK_API_TOKEN: ${{ secrets.METABLOCK_API_TOKEN }}
1716
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
1817
strategy:
@@ -33,7 +32,10 @@ jobs:
3332
run: make test
3433
- name: upload coverage
3534
if: matrix.python-version == '3.11'
36-
run: poetry run codecov --file ./build/coverage.xml
35+
uses: codecov/codecov-action@v3
36+
with:
37+
token: ${{ secrets.CODECOV_TOKEN }}
38+
files: ./build/coverage.xml
3739
- name: release
3840
if: ${{matrix.python-version == '3.11' && github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release'}}
3941
run: make publish

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ publish: ## release to pypi and github tag
4343

4444

4545
outdated: ## show outdated packages
46-
poetry show -o
46+
poetry show -o -a

dev/lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22
isort . $1
3-
black . --exclude "venv|build|dev|dist" $1
3+
black . --exclude ".venv|build|dev|dist" $1
44
flake8
55
mypy metablock tests

metablock/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from .spaces import Block, Service, Space, SpaceExtension
66
from .user import User
77

8-
__version__ = "0.5.2"
8+
__version__ = "0.5.3"
99

1010
__all__ = [
1111
"Metablock",

metablock/py.typed

Whitespace-only changes.

poetry.lock

Lines changed: 14 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "metablock"
3-
version = "0.5.2"
3+
version = "0.5.3"
44
description = "Metablock cloud python client"
55
authors = ["Luca <luca@quantmind.com>"]
66
license = "BSD"
@@ -14,12 +14,11 @@ aiohttp = "^3.8.3"
1414
pytest-asyncio = "^0.21.0"
1515
pytest = "^7.0.1"
1616
pytest-cov = "^4.0.0"
17-
mypy = "^1.2.0"
17+
mypy = "^1.3.0"
1818
black = "^23.3.0"
1919
isort = "^5.11.3"
2020
flake8 = "^6.0.0"
2121
flake8-builtins = "^2.0.1"
22-
codecov = "^2.1.12"
2322
python-dotenv = "^1.0.0"
2423

2524
[build-system]

0 commit comments

Comments
 (0)