Skip to content

Commit

Permalink
Use latest (as of 2022-07-11) version of codecov action (#1099)
Browse files Browse the repository at this point in the history
* Use latest (as of 2022-07-11) version of codecov action

Signed-off-by: Eduardo Apolinario <[email protected]>

* Add pytest-cov to dev requirements

Signed-off-by: Eduardo Apolinario <[email protected]>

* Regenerate spark requirements.

Signed-off-by: Eduardo Apolinario <[email protected]>

Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario and eapolinario authored Jul 28, 2022
1 parent ef1cda1 commit 490597a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
pip freeze
- name: Test with coverage
run: |
coverage run -m pytest tests/flytekit/unit -m "not sandbox_test"
pytest tests/flytekit/unit -m "not sandbox_test" --cov=./ --cov-report=xml
- name: Codecov
uses: codecov/codecov-action@v1.5.2
uses: codecov/codecov-action@v3.1.0
with:
fail_ci_if_error: true # optional (default = false)

Expand Down
1 change: 1 addition & 0 deletions dev-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ coverage[toml]
joblib
mock
pytest
pytest-cov
mypy
pre-commit
codespell
Expand Down
19 changes: 12 additions & 7 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ cookiecutter==2.1.1
# -c requirements.txt
# flytekit
coverage[toml]==6.4.1
# via -r dev-requirements.in
# via
# -r dev-requirements.in
# pytest-cov
croniter==1.3.5
# via
# -c requirements.txt
Expand Down Expand Up @@ -136,7 +138,7 @@ google-auth==2.9.0
# google-cloud-core
google-cloud-bigquery==3.2.0
# via -r dev-requirements.in
google-cloud-bigquery-storage==2.13.2
google-cloud-bigquery-storage==2.14.0
# via
# -r dev-requirements.in
# google-cloud-bigquery
Expand Down Expand Up @@ -275,7 +277,7 @@ platformdirs==2.5.2
# via virtualenv
pluggy==1.0.0
# via pytest
pre-commit==2.19.0
pre-commit==2.20.0
# via -r dev-requirements.in
prompt-toolkit==3.0.30
# via ipython
Expand Down Expand Up @@ -340,8 +342,11 @@ pyrsistent==0.18.1
pytest==7.1.2
# via
# -r dev-requirements.in
# pytest-cov
# pytest-docker
# pytest-flyte
pytest-cov==3.0.0
# via -r dev-requirements.in
pytest-docker==0.12.0
# via pytest-flyte
pytest-flyte @ git+https://github.com/flyteorg/pytest-flyte@main
Expand All @@ -356,7 +361,7 @@ python-dateutil==2.8.2
# pandas
python-dotenv==0.20.0
# via docker-compose
python-json-logger==2.0.2
python-json-logger==2.0.4
# via
# -c requirements.txt
# flytekit
Expand All @@ -380,7 +385,7 @@ pyyaml==5.4.1
# docker-compose
# flytekit
# pre-commit
regex==2022.6.2
regex==2022.7.9
# via
# -c requirements.txt
# docker-image-py
Expand Down Expand Up @@ -444,7 +449,7 @@ tomli==2.0.1
# coverage
# mypy
# pytest
torch==1.11.0
torch==1.12.0
# via -r dev-requirements.in
traitlets==5.3.0
# via
Expand All @@ -466,7 +471,7 @@ typing-inspect==0.7.1
# via
# -c requirements.txt
# dataclasses-json
urllib3==1.26.9
urllib3==1.26.10
# via
# -c requirements.txt
# flytekit
Expand Down
6 changes: 3 additions & 3 deletions requirements-spark2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ python-dateutil==2.8.2
# croniter
# flytekit
# pandas
python-json-logger==2.0.2
python-json-logger==2.0.4
# via flytekit
python-slugify==6.1.2
# via cookiecutter
Expand All @@ -155,7 +155,7 @@ pyyaml==5.4.1
# -r requirements.in
# cookiecutter
# flytekit
regex==2022.6.2
regex==2022.7.9
# via docker-image-py
requests==2.28.1
# via
Expand Down Expand Up @@ -192,7 +192,7 @@ typing-extensions==4.3.0
# typing-inspect
typing-inspect==0.7.1
# via dataclasses-json
urllib3==1.26.9
urllib3==1.26.10
# via
# flytekit
# requests
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ python-dateutil==2.8.2
# croniter
# flytekit
# pandas
python-json-logger==2.0.2
python-json-logger==2.0.4
# via flytekit
python-slugify==6.1.2
# via cookiecutter
Expand All @@ -153,7 +153,7 @@ pyyaml==5.4.1
# -r requirements.in
# cookiecutter
# flytekit
regex==2022.6.2
regex==2022.7.9
# via docker-image-py
requests==2.28.1
# via
Expand Down Expand Up @@ -190,7 +190,7 @@ typing-extensions==4.3.0
# typing-inspect
typing-inspect==0.7.1
# via dataclasses-json
urllib3==1.26.9
urllib3==1.26.10
# via
# flytekit
# requests
Expand Down

0 comments on commit 490597a

Please sign in to comment.