Title: chore(ci): bring test environment back to life by nejch · Pull Request #1269 · python-gitlab/python-gitlab · GitHub
Open Graph Title: chore(ci): bring test environment back to life by nejch · Pull Request #1269 · python-gitlab/python-gitlab
X Title: chore(ci): bring test environment back to life by nejch · Pull Request #1269 · python-gitlab/python-gitlab
Description: This does a few things to hopefully bring back a workable environment so people's PRs can go green :) at some point docker-compose started using python-dotenv which processes .env files differently (at least for paths to env files) and this broke everything in functional tests. This PR explicitly tracks a version in the tox environment so it works everywhere regardless of the system. replaces Travis with GHA. On .org the Travis job queues were getting into 3+ hours for jobs, the migration to .com seemed like a whole process, and it was getting less and less reliable. I like that Actions have test failure annotations (akin to inline coverage in GitLab) and it was basically zero-config to add it with https://pypi.org/project/pytest-github-actions-annotate-failures. Jobs get queued fast and builds are under 10 min including functional tests and they seem very stable 👍 (I was spamming it while writing the YAML and none of the functional tests failed). #1215 or similar will probably still be necessary but this looks promising with GitHub Actions IMO. Edit: well I take that back about tests being stable haha
Open Graph Description: This does a few things to hopefully bring back a workable environment so people's PRs can go green :) at some point docker-compose started using python-dotenv which processes .env files differ...
X Description: This does a few things to hopefully bring back a workable environment so people's PRs can go green :) at some point docker-compose started using python-dotenv which processes .env files di...
Opengraph URL: https://github.com/python-gitlab/python-gitlab/pull/1269
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5cd62773-1b64-8316-43b7-7b1d4b023f36 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EAAA:267E4D:647DFC8:8444973:69750E1F |
| html-safe-nonce | 460b58e2501377a07b3cbac6691ead0f93bfafb6f60d1f609c6fd61cd0fc5d40 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUFBOjI2N0U0RDo2NDdERkM4Ojg0NDQ5NzM6Njk3NTBFMUYiLCJ2aXNpdG9yX2lkIjoiMTEwOTU3NzQyNjU2OTMzNDMwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fe7a52ecf67bdcd91def3b8186aacc7e53e454bf8b569adf0ec52a22a977abf6 |
| hovercard-subject-tag | pull_request:562154581 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-gitlab/python-gitlab/pull/1269/files |
| twitter:image | https://avatars.githubusercontent.com/u/16777978?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/16777978?s=400&v=4 |
| og:image:alt | This does a few things to hopefully bring back a workable environment so people's PRs can go green :) at some point docker-compose started using python-dotenv which processes .env files differ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git |
| octolytics-dimension-user_id | 28886265 |
| octolytics-dimension-user_login | python-gitlab |
| octolytics-dimension-repository_id | 8077625 |
| octolytics-dimension-repository_nwo | python-gitlab/python-gitlab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8077625 |
| octolytics-dimension-repository_network_root_nwo | python-gitlab/python-gitlab |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width