Skip to content

Commit 625fef5

Browse files
author
Dmitriy Gumeniuk
authored
Merge pull request #150 from iivanou/update_ci
Minor improvements in actions
2 parents f3f2c9d + 1029fd8 commit 625fef5

File tree

5 files changed

+8
-15
lines changed

5 files changed

+8
-15
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflows will upload a Python Package using Twine when a release is created
2-
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3-
41
name: Upload Python Package
52

63
on:
@@ -9,9 +6,7 @@ on:
96

107
jobs:
118
deploy:
12-
139
runs-on: ubuntu-latest
14-
1510
steps:
1611
- uses: actions/checkout@v2
1712
- name: Set up Python

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test Report Portal Python client
1+
name: Tests
22

33
on: [push, pull_request]
44

@@ -28,4 +28,3 @@ jobs:
2828
flags: unittests
2929
name: codecov-client-reportportal
3030
path_to_write_report: codecov_report.txt
31-
verbose: true

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# ReportPortal python client
22

33
[![PyPI](https://img.shields.io/pypi/v/reportportal-client.svg?maxAge=259200)](https://pypi.python.org/pypi/reportportal-client)
4+
[![Python versions](https://img.shields.io/pypi/pyversions/reportportal-client.svg)](https://pypi.org/project/reportportal-client)
45
[![Build Status](https://github.com/reportportal/client-Python/actions/workflows/tests.yml/badge.svg)](https://github.com/reportportal/client-Python/actions/workflows/tests.yml)
56
[![codecov.io](https://codecov.io/gh/reportportal/client-Python/branch/master/graph/badge.svg)](https://codecov.io/gh/reportportal/client-Python)
67

requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1+
aenum
12
requests>=2.23.0
23
six>=1.15.0
3-
pytest
4-
delayed-assert
5-
aenum

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ envlist =
1010

1111
[testenv]
1212
deps =
13+
-rrequirements.txt
14+
delayed-assert
1315
pytest
1416
pytest-cov
15-
delayed-assert
16-
requests
17-
commands = pytest --cov=reportportal_client --cov-report=xml tests/ -s -vv
17+
commands = pytest --cov={envsitepackagesdir}/reportportal_client --cov-report=xml tests/ -s -vv
1818

1919
[testenv:pep]
2020
skip_install = True
@@ -23,11 +23,11 @@ commands = pre-commit run --all-files --show-diff-on-failure
2323

2424
[testenv:py27]
2525
deps =
26+
-rrequirements.txt
27+
delayed-assert
2628
mock
2729
pytest
2830
pytest-cov
29-
delayed-assert
30-
requests
3131

3232
[gh-actions]
3333
python =

0 commit comments

Comments
 (0)