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: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:b859c7b6-8873-88dc-8f2a-351276b69884 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D432:11B87F:644F715:8395CEF:69750A71 |
| html-safe-nonce | fcc17a5233980e7d4bb060652695d9a5109e38acf1cbf58363b53281fc01a90f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDMyOjExQjg3Rjo2NDRGNzE1OjgzOTVDRUY6Njk3NTBBNzEiLCJ2aXNpdG9yX2lkIjoiMjI1NTc5OTg3NzQxMTA4MDgxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e6a331b22f678d507b853c08b3593ef02aaf4e9f4c995ec893459d252ffa0a65 |
| hovercard-subject-tag | pull_request:562154581 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/checks |
| 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 |
| 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 full-width-p-0 |
| disable-turbo | false |
| 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