Skip to content

Commit

Permalink
Update version upgrade doc after switch to GitHub Actions.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 345047056
  • Loading branch information
rchen152 committed Dec 2, 2020
1 parent 40b3afb commit d693e4b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/developers/python_version_upgrades.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ python build_scripts/run_tests.py
```

The new version should also be added to the
[Travis test matrix](
https://github.com/google/pytype/blob/ee51995a1c5937cb4ebee291acb2e049fb0f81cc/.travis.yml#L9).
Even if the tests do not pass yet, it is helpful to see the failures, and you
can configure them to not fail the build by adding to the matrix:

```
allow_failures:
- python: "3.x" # replace x with the appropriate minor version
```
[CI test matrix](
https://github.com/google/pytype/blob/a2ce16edc0ee992f97b328ce752b51318a00d513/.github/workflows/ci.yml#L15-L22).
Even if the tests do not pass yet, it is helpful to see the failures. You can
can configure them to not fail the workflow by [marking the check as experimental](
https://github.com/google/pytype/blob/a2ce16edc0ee992f97b328ce752b51318a00d513/.github/workflows/ci.yml#L19-L22)
<!-- TODO(rechen): Once https://github.com/actions/toolkit/issues/399 is
supported, suggest that instead of the `|| exit 0` hack -->
and using `|| exit 0` to [always report a success](
https://github.com/google/pytype/blob/a2ce16edc0ee992f97b328ce752b51318a00d513/.github/workflows/ci.yml#L47-L49).

### GitHub release

Expand Down

0 comments on commit d693e4b

Please sign in to comment.