summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-12-30[pre-commit.ci] pre-commit autoupdate (#8201)pre-commit-ci[bot]
* [pre-commit.ci] pre-commit autoupdate * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * manual fixes after configuration update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Anthony Sottile <asottile@umich.edu>
2020-12-26coverage: Include code that runs in subprocessesantonblr
2020-12-17Remove other references to TravisBruno Oliveira
2020-12-16Use manual trigger to prepare release PRs (#8150)Bruno Oliveira
Co-authored-by: Ran Benita <ran@unusedvar.com>
2020-10-10release-on-comment: add "Closes <release issue number>" to release PRRan Benita
2020-10-03py36+: pyupgrade: py36+Anthony Sottile
2020-09-26Fix typos in pytestbotHugo van Kemenade
2020-09-04Use tox to execute release scriptBruno Oliveira
The release-on-comment script is always executed on *master*, so we should execute the `release.py` script using tox to ensure we create the right environment. Also fixed errors in the error handling code.
2020-08-03testing: fix some docstring issuesRan Benita
In preparation for enforcing some docstring lints.
2020-07-28Update text and links in announce templatesBruno Oliveira
The links were still pointing to the latest version (instead of stable) and also took the opportunity to update the text a bit.
2020-07-28Support generating major releases using issue comments (#7548)Bruno Oliveira
2020-07-08Set correct version during regenBruno Oliveira
2020-05-31adding towncrier wrapper script so 'tox -e docs' works natively on windows ↵Simon K
(#7266) * enable tox -e docs natively on windows using a wrapper * rename the towncrier script; run the towncrier command in a safer manner * use subprocess.call; call exit() around main on towncrier wrapper * change to sys.exit() instead of builtin exit()
2020-05-16Fix errors introduced by #6911Bruno Oliveira
Somehow I've missed the failures while merging, totally my fault.
2020-04-12Fix-6911(pytest-bot): Added error from commands that are rungaurav dhameeja
Earlier pytest-bot would only print out the exception in cases of failure but did not provide context on failing command and error from command. This patch adds the errors from the command to the exception message. `Command` provides abstraction over the command to run and helps in collecting errors from the first failing command only. With this, we don't need to check `returncode` from each command that we run, we can run all the commands and will have access to the error from the first command that failed. This pattern was taken from Go. Please refer: https://blog.golang.org/errors-are-values
2020-03-13Skip link checks when doing releases through the botBruno Oliveira
Unfortunately this is really getting in the way of the releases not because of broken links, but because it is very flaky. Related: #6894
2020-03-01Automate release by comment notifications (#6823)Bruno Oliveira
* Automate release by comment notifications * Only run if @pytestbot is mentioned
2020-01-30Revert "ci: codecov: use `--retry-connrefused` with curl"Daniel Hahler
Not known with `curl` on Travis at least. Reverts https://github.com/pytest-dev/pytest/pull/6573. This reverts commit df1f43ee28d38350542a23acb27647feab46f473.
2020-01-29Use --wrap=preserve in release notes scriptBruno Oliveira
Follow up to #6621 after premature merge
2020-01-29Don't wrap the markdown for GitHub releasesHugo van Kemenade
2020-01-25ci: codecov: use `--retry-connrefused` with curlDaniel Hahler
While it might not help with the following, it certainly might happen as well. ``` + curl -S -L --connect-timeout 5 --retry 6 -s https://codecov.io/bash -o codecov-upload.sh curl: (16) Error in the HTTP2 framing layer ```
2020-01-24ci: remove Azure config/scriptsDaniel Hahler
This is covered by GitHub Actions now.
2020-01-24Merge pull request #6549 from blueyed/fix-release-minorDaniel Hahler
doc: minor fixes for the release process
2020-01-23bug-fix fixesDaniel Hahler
2020-01-23doc: minor fixes for the release processDaniel Hahler
2020-01-23ci: codecov: add flags for GHA/TravisDaniel Hahler
This would help with debugging missing coverage when removing Travis jobs.
2020-01-17scripts/release.py: lint: fix F999Daniel Hahler
2020-01-15Add deploy step: publish package and release notesBruno Oliveira
Fix #6369
2020-01-14Append token to codecov.yml instead of duplicating the fileBruno Oliveira
2019-12-20Update release notes script after CHANGELOG changed locationBruno Oliveira
2019-11-28docs: move changelog to docs/en and allow sphinx directivesDaniel Hahler
Now `tox -e docs` will also include the draft changelog for the next version (locally only). `CHANGELOG.rst` now only points to the changelog on READTHEDOCS so sphinx diretives can be used. Followup to https://github.com/pytest-dev/pytest/pull/6272
2019-11-06Added checklinks to tox and release.pySteffen Schroeder
2019-10-12Workaround curl bug which makes retries of fetching codecov.io/bash not workRan Benita
2019-09-23ci: codecov: use 6 retries with curlDaniel Hahler
This should result in retries of 1+2+4+8+16+32 = 63s. Ref: https://github.com/pytest-dev/pytest/pull/5869#issuecomment-534235437
2019-09-23Remove unneeded codecov options (implied with "-f")Daniel Hahler
2019-09-21Change report-coverage.sh in attempt to fix AzureBruno Oliveira
Recently sometimes Azure has failed with: ++ curl -s https://codecov.io/bash bash: /dev/fd/63: No such file or directory This attempts to fix this by modifying report-coverage.sh slightly.
2019-08-14Use TRAVIS_REPO_SLUG instead of hard-coding pytest-dev/pytestBruno Oliveira
I was doing final tests on the script today, and forgot to change the hardecoded "pytest-dev/pytest", which ended up publishing a `4.99.10` release to the main repository by mistake, as my token has access to both my fork and main repository. I deleted the tag immeditely just a few seconds later, so hopefully this won't cause major problems. This change makes it safer to test this in the future, never publishing to the main repository by mistake (as long as the tags are pushed to the right repositories of course).
2019-08-12Publish GitHub release notes after deploymentBruno Oliveira
Fix #2933
2019-06-06ci: move coverage reporting to shared scriptDaniel Hahler
2019-06-03pre-commit run fix-encoding-pragma --all-filesAnthony Sottile
2019-05-23Fix invalid Python file encoding "utf8" (#5252)Bruno Oliveira
Fix invalid Python file encoding "utf8"
2019-05-16Remove customization of (python.exe) from Azure [skip travis]Bruno Oliveira
This is no longer needed it seems
2019-05-14Use fix-encoding-pragma pre-commit hookAnthony Sottile
2019-03-04ci: Azure: fix coverage generation with PyPyDaniel Hahler
While this is not used currently, it is still good for having it covered (it failed when running coverage with all jobs unconditionally).
2019-02-28ci: codecov: remove flags completely for nowDaniel Hahler
This appears to be one of the reasons for timeouts on their backend.
2019-02-27ci: codecov: set name for uploads/buildsDaniel Hahler
2019-02-27ci: coverage: remove --ignore-errorsDaniel Hahler
This should not be necessary (anymore).
2019-02-26Configure azure to enable coverage on PYTEST_COVERAGE=1, similar to TravisBruno Oliveira
2019-02-26Remove appveyor.yml and related scriptsBruno Oliveira
2019-02-26Upload code coverage from azureBruno Oliveira