File tree Expand file tree Collapse file tree 4 files changed +6
-13
lines changed Expand file tree Collapse file tree 4 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 20
20
:target: https://codecov.io/gh/pytest-dev/pytest
21
21
:alt: Code coverage Status
22
22
23
- .. image :: https://travis-ci.org/pytest-dev/pytest.svg?branch=master
24
- :target: https://travis-ci.org/pytest-dev/pytest
25
-
26
23
.. image :: https://github.com/pytest-dev/pytest/workflows/main/badge.svg
27
24
:target: https://github.com/pytest-dev/pytest/actions?query=workflow%3Amain
28
25
Original file line number Diff line number Diff line change 1
1
"""
2
2
Appends the codecov token to the 'codecov.yml' file at the root of the repository.
3
3
4
- This is done by CI during PRs and builds on the pytest-dev repository so we can upload coverage, at least
5
- until codecov grows some native integration like it has with Travis and AppVeyor .
4
+ This is done by CI during PRs and builds on the pytest-dev repository so we can
5
+ upload coverage, at least until codecov grows some native integration with GitHub Actions .
6
6
7
7
See discussion in https://github.com/pytest-dev/pytest/pull/6441 for more information.
8
8
"""
Original file line number Diff line number Diff line change 1
1
"""
2
2
Script used to publish GitHub release notes extracted from CHANGELOG.rst.
3
3
4
- This script is meant to be executed after a successful deployment in Travis .
4
+ This script is meant to be executed after a successful deployment in GitHub actions .
5
5
6
6
Uses the following environment variables:
7
7
12
12
13
13
https://github.com/settings/tokens
14
14
15
- It should be encrypted using:
16
-
17
- $travis encrypt GH_RELEASE_NOTES_TOKEN=<token> -r pytest-dev/pytest
18
-
19
- And the contents pasted in the ``deploy.env.secure`` section in the ``travis.yml`` file.
15
+ This token should be set in a secret in the repository, which is exposed as an
16
+ environment variable in the main.yml workflow file.
20
17
21
18
The script also requires ``pandoc`` to be previously installed in the system.
22
19
Original file line number Diff line number Diff line change 2
2
isolated_build = True
3
3
minversion = 3.20.0
4
4
distshare = {homedir}/.tox/distshare
5
- # make sure to update environment list in travis.yml and appveyor.yml
6
5
envlist =
7
6
linting
8
7
py36
@@ -23,7 +22,7 @@ commands =
23
22
doctesting: {env:_PYTEST_TOX_COVERAGE_RUN:} pytest --doctest-modules --pyargs _pytest
24
23
coverage: coverage combine
25
24
coverage: coverage report -m
26
- passenv = USER USERNAME COVERAGE_* TRAVIS PYTEST_ADDOPTS TERM
25
+ passenv = USER USERNAME COVERAGE_* PYTEST_ADDOPTS TERM
27
26
setenv =
28
27
_PYTEST_TOX_DEFAULT_POSARGS ={env:_PYTEST_TOX_POSARGS_DOCTESTING:} {env:_PYTEST_TOX_POSARGS_LSOF:} {env:_PYTEST_TOX_POSARGS_XDIST:}
29
28
You can’t perform that action at this time.
0 commit comments