Commit c39a5d3
Integration tests (#3417)
* run update_upstream_versions in tests
* gather feedstocks in tests + make graph
* update upstream versions in tests
* add other make-graph step
* enable debugging, deploy, don't update pinnings every time
* refactor and fix env vars
* add pydantic feedstock as a resource
* add IntegrationTestHelper supporting overwriting feedstock contents
* relock, fix install bot code
* fix subprocess call
* set git initial branch
* fix tests
* set proxy in update-upstream-versions
* global router + overwrite cf-graph repo
* reorder steps
* fix install bot code
* disable random skipping in integration tests
* use correct env name for container image
* (todo) don't overwrite container image env variables
* reorder action steps
* fix
* don't create pinning repo
* debug
* fix
* debug
* debug
* also capture stderr
* use older version for pydantic
* use lowercase proxy
* set DEPLOY_REPO correctly
* tmate action
* dont use proxy for tmate
* fix
* fix proxy in container
* fix
* git CLI: don't use proxy
* add make-migrators step
* fix
* relock
* don't use with sensitive_env
* fix
* fix
* make GitHub API transparent
* install_bot_code does not need BOT_TOKEN
* separate bot user token and regro org token
* apply fixes
* relock
* fix token
* fix URL request handler
* fix URL request handler
* Revert "Merge branch 'separate-bot-tokens' into integration-tests"
This reverts commit 63fec86, reversing
changes made to 56f9caa.
* Revert "Merge branch 'separate-bot-tokens' into integration-tests"
This reverts commit 56f9caa, reversing
changes made to d1f213a.
* use classic PAT
* remove tmate
* use TEST_SETUP_TOKEN
* fix: forward headers
* fix proxy
* make PyPI tarfiles transparent
* route transparent URLs directly by mitmproxy, configure conda-forge org
* use conda-forge-bot-staging everywhere
* fix setup
* add llvmdev via submodule
* add pydantic via submodule
* run make-migrators twice
* successfully validate new pydantic version
* remove llvmdev from integration tests
* relock
* fix conda forge org override
* fix typo
* fix todo: override env variables in install_bot_code.sh
* fix: don't divide by zero
* finish docs for integration testing
* docs: refer to TRANSPARENT_URLs
* try to run make-migrators a third time
* review: fix branch name
Co-authored-by: Pavel Zwerschke <pavelzw@gmail.com>
* pin GitHub Actions correctly
* fix: we don't want to change num_try
* fix: use CONDA_FORGE_ORG
* move ENV_OVERRIDE_CONDA_FORGE_ORG to settings.py
* use debug log level if running workflow in debug mode
* refactor: move env variable name to constant
* DRY: use identical env variable for cf-graph repository
* Revert "try to run make-migrators a third time"
This reverts commit 973d95c.
did not solve the issue
* docs: fix reference to env variables
* use Docker image name consistently
* refactor: rename DEPLOY_REPO to GRAPH_REPO
to make it consistent with the env variable naming
* fix f-string
* clarify bug comment
* move RANDOM_FRAC_TO_UPDATE to settings
* resolve TODO
* fix docstring
* fix: reorder try clause
* fix: add pip install
* fix: move imports to top-level
* add debug logging to proxy
* add CODEOWNERS file to automatically request further reviews
* add CODEOWNERS file
* fix: push 1.x branch to pydantic feedstock
* relock
* move proxy mode to conda-forge-feedstock-ops
see conda-forge/conda-forge-feedstock-ops#34
* fix reponses from PyPI API
* retrigger ci
* ruff
* run integration tests in merge queue
* add dummy check for setup-repositories
* run integration tests on PRs from branches
* remove dummy workflow
* skip on push
* review suggestion: reformat
Co-authored-by: Matthew R. Becker <beckermr@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Matthew R. Becker <beckermr@users.noreply.github.com>
* separate RANDOM_FRAC_TO_UPDATE for make-graph and update-upstream-versions
* fix comment
* add docstring for settings.py
* add type annotations for settings
* prevent duplicate kwarg errors
* use deferred log expressions
Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>
* clarify mimicked ClonedFeedstockContext warning
* remove "environment variables" comment again
* make graph repo default branch configurable
* defer log expression
* add comment about GITHUB_OUTPUT
* use working-directory instead of cd
* fix env var
* clarify docstring
* docs: random.shuffle is in-place
* add docs to explain test scenario collection
* fix images
* fix except AttributeError
* add shebang
Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>
* Update tests_integration/resources/empty-graph/README.md
Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>
* docs: clarify arbitrary test case name
* docs: improve wording wro test scenario
* begin refactor integration tests to pytest
* continue refactor integration tests to pytest
* update submodule
* document mitmproxy
* migrate to xprocess for mitmproxy
* make dir switches benign
* edit gitignore
* make integration tests pass
* chore: relock
* fix: adjust for new settings module
ir
* feat: add mitmproxy cert wizard, move mitmproxy dir
* docs: update docs for integration tests
* feat: run new test concept everywhere
* chore: disable Docker caching
because it's faster
* fix: condarc file in CI
* fix: ci-driven development
* fix: heredoc
* ci: fix script path
* ci: debug
* fix: trust script and ci
* ci: disable debug mode
* fix: set git identity in integration tests
* debug ci
* fix: do proxy alive check via port probing
* debug ci
* fix: pass PYTHONPATH to proxy script
* ci: enable debug mode
* ci: output proxy logs
* chore: formatting
* debug ci
* debug: more timeout
* ci: debug ci with updated dependencies
* test(integration): don't run deploy to github in proxy env
* ci debug
* test(integration): trust crt file
* ci: debug ci
* chore: add mitmproxy trust script to gitignore
* fix(integration-tests): add more URLs to transparent URLs
* chore: relock conda
* fix: don't reassign os.environ
* fix(integration tests): we also need the http versions of the transparent URLs
* fix: typo in integration tests, pytest nodist
* complete integration tests
* ci: debug
* fix: add CA cert to git
* docs: add comment for Python 3.13
* remove debugger
* chore: relock
* chore: add conda-lock to .gitattributes
* feat(integration tests): dynamically parametrize tests
* docs(integration-tests): update graphics
* chore: remove explicit truststore dependency
* docs(integration-tests): add --dist=no flag to pytest
* chore: remove clear runner script
* chore: add original draw.io file
* fix: typo
* fix: formatting
Co-authored-by: Pavel Zwerschke <pavelzw@gmail.com>
* fix: spelling
Co-authored-by: Pavel Zwerschke <pavelzw@gmail.com>
* fix: remove pydantic-settings note
Co-authored-by: Pavel Zwerschke <pavelzw@gmail.com>
* feat: improve instructions in setup wizard
* fix: formatting
* docs: add note about cloning depth
* rename home_directory to initial_working_dir
* fix: dir link
* fix: get_test_scenario
* docs: explain PyCharm warning
* docs: clarify lifetime of TestCase objects
* docs: refer to README in module docstring
* refactor: use monkeypatch.setenv everywhere
* docs: add docstring to test_scenario
* refactor: make coherent lib module for integration testing
* fix: you cannot monkeypatch in module level
* fix: imports
* fix: circular imports
* fix method call
* fix filesystem path
* relock w/ conda-lock
* relock w/ conda-lock
* fix integration test 1
* relock
* fix: lower pin for conda_forge_feedstock_ops
* relock w/ conda-lock
* relock
* replace svg with markdown
* hotfix: pass settings env manually
this should eventually replaced by conda-forge/conda-forge-feedstock-ops#49
* fix: base_url setting
* slahes in URLs are a good thing
* run ruff
---------
Co-authored-by: Pavel Zwerschke <pavelzw@gmail.com>
Co-authored-by: Matthew R. Becker <beckermr@users.noreply.github.com>
Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>
Co-authored-by: regro-cf-autotick-bot <regro-cf-autotick-bot@users.noreply.github.com>1 parent 41ddbe2 commit c39a5d3
File tree
49 files changed
+3780
-180
lines changed- .github
- workflows
- autotick-bot
- conda_forge_tick
- update_recipe
- tests_integration
- .mitmproxy
- lib
- _definitions
- conda_forge_pinning
- resources
- pydantic
- resources
- resources
- empty-graph
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+3780
-180
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
| 241 | + | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
| |||
299 | 301 | | |
300 | 302 | | |
301 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
302 | 308 | | |
303 | 309 | | |
304 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments