Commit Graph

48 Commits (array_index)

Author SHA1 Message Date
derekpierre 5fe0d27c08
Use python 3.13 instead of python 3.12 in CI workflows including code coverage. 2025-09-29 10:01:55 -04:00
derekpierre a4beb55d62
Make CI env variable more specific to where it is actually needed.
Split bitcoin and solana non-evm tests, since only the bitcoin one seems to be xfailing.
2025-09-25 15:01:11 -04:00
derekpierre 2052ac53c2
Include real world test that uses X-API-Key header via POAP API.
A POAP API KEY is included in our Github repos as secret; if running locally the test will simply xfail which doesn't count as a test suite failure.
2025-09-25 15:00:22 -04:00
derekpierre cbde5d1e3c
Remove ssh session from gh action that was only added for investigation of test failure. 2025-09-25 14:59:13 -04:00
derekpierre 7d70215503
Only start SSH session if previous step(s) failed. 2025-09-25 14:57:51 -04:00
derekpierre 0b9226acd3
Use v4 of gh cache action. 2025-09-25 14:57:51 -04:00
KPrasch 96f4cf6217
manual ssh debug step for gh actions 2025-09-25 14:57:51 -04:00
derekpierre ac25a88233
Reset requirements files to match what is on `main`. 2025-09-25 14:57:48 -04:00
derekpierre c5790336ce
Only run pythont tests for python v3.12 for now - I think the ape issue is related to python 3.9. 2025-09-25 14:57:09 -04:00
David Núñez 20b646a066
Remove support for python 3.9 – Min version is now 3.10 2025-09-23 16:29:16 +02:00
derekpierre babcbf755c
Add acceptance test that runs using an actual alchemy polygon rpc endpoint that is under free tier.
The test only runs if the appropriate env variable is set - it is automatically set for CI.
2025-09-22 09:39:53 -04:00
derekpierre e9332eed85
Use codecov gh-action v5. 2025-08-14 08:44:06 -04:00
KPrasch 0ebe4d348c
remove temporary hack for setuptools==72 2024-07-31 15:37:32 +07:00
KPrasch 073cbd5071
relock dependencies with pinned setuptools<72; include pip constrants to manage pip wheel isolated builds (workaround for https://github.com/pypa/setuptools/issues/4519) 2024-07-29 19:03:19 +07:00
derekpierre b4e1042e83
Use 3.9 as the base python version for CI tests. 2024-07-16 10:27:53 -04:00
derekpierre 3b4709a46f
Don't limit version of codecov gh action. Allow latest v4 to always be used. Perhaps this will resolve our codecov issues. 2024-07-04 15:07:20 -04:00
derekpierre 55440023ae
Use latest version of codecov action for github workflow. 2024-04-12 09:04:18 -04:00
Kieran Prasch f40b56b822
bump common python version to 3.12 2023-12-21 09:30:43 -05:00
Kieran Prasch 663f93a405 use v*.*.* branches instead of development 2023-10-23 19:22:48 +02:00
KPrasch d9a96fc6cd
Merge pull request #3284 from nucypher/lynx-gh
Measure decryption time on simple testnet script. Update CI actions.
2023-10-16 18:38:08 +02:00
David Núñez 2b4fdb1426
CI: switch to dtolnay/rust-toolchain action
actions-rs/toolchain is no longer maintained, and repo is archived.

See https://github.com/actions-rs/toolchain/issues/216
2023-10-13 14:12:57 +02:00
David Núñez a41cb033fa
CI: bump actions/checkout to v4 2023-10-13 14:11:20 +02:00
David Núñez dbba3bfd59
Merge pull request #3272 from derekpierre/bad-cache
Fix inconsistent python dependency updates when cached dependencies used
2023-10-11 07:30:15 +02:00
Kieran Prasch 5ff758c562 Updates codecov/python verison flags to 3.11 2023-10-05 19:08:10 +02:00
LunarBytes f6f7ee5b1b Update .github/workflows/python_tests.yml
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2023-10-05 19:08:10 +02:00
jMyles aeb128d8e0 Adding 3.11 to the list of supported versions for the github actions matrix. 2023-10-05 19:08:10 +02:00
derekpierre b9bfce9d81 Always install code updates even if there was a python dependency cache hit.
Split pip upgrade and package installation.
2023-10-05 12:31:32 -04:00
Kieran Prasch 4ca943db05 run CI on epic-based branches 2023-10-04 19:01:58 +02:00
derekpierre 94a41bd4c0 Relock dependencies using python 3.8; ensure that 3.8 is used by the script.
Update github action to use 3.8 instead of 3.7; update pypi classifiers.
2023-05-02 15:51:16 -04:00
derekpierre 1e07a4a43d Obtain the acceptance test code coverage files from the correct directory. 2023-05-02 14:43:41 -04:00
derekpierre 0e65cb3004 Don't modify pip install in Dockerfile since requirements.txt is now being configured for the correct versions of nucypher-core/ferveo which may/may not be git refs. 2023-05-02 10:23:24 -07:00
Kieran Prasch 99732b8edd re-enable integration tests 2023-05-02 10:23:24 -07:00
derekpierre 62bb30bd7b Update github action workflow for running python tests for CI. 2023-05-02 10:23:24 -07:00
derekpierre 68bbdb83e1 Try caching of pip dependencies so that pip install can be skipped for subsequent builds that don't change dependencies.
Use hash of both dev-requirements.txt and requirements.txt files for cache key.
2022-11-28 10:19:51 -05:00
derekpierre e7283471ab Reduce scope of events used for triggering github actions.
Try using pip caching to improve efficiency of github actions.
2022-11-28 10:19:51 -05:00
derekpierre 69bca85d2a Run coverage directly and not through pytest-cov - there are discrepancy in reports.
Only upload coverage reports after all tests have passed.
Premature optimization for only running code coverage for specific python matrix value, and run pytest directly otherwise.
2022-11-16 11:14:32 -05:00
derekpierre 1b37fbb319 Fail CI if coverage report cannot be uploaded. 2022-11-15 09:28:11 -05:00
derekpierre 69bca8aace Only run tests for python 3.7 and 3.10. 2022-11-14 18:09:01 -05:00
derekpierre 47a8105509 Update coverage configuration to allow for better categorization of coverage reporting.
Fix coverage upload methodology.
Temporarily reduce python matrix until testing is completed.
2022-11-14 18:07:53 -05:00
derekpierre b45c93e025 Add code coverage. 2022-11-14 18:07:52 -05:00
Kieran Prasch 37fc77d354 uniquely namespace gh action concurrency groups. 2022-11-10 01:33:51 +00:00
Kieran Prasch cacb63a6bf Update github action triggers for pull requests 2022-11-10 01:32:09 +00:00
KPrasch 785a59663b
Merge pull request #2993 from KPrasch/development
[WIP] Export reusable pytest fixtures and cleanup
2022-11-02 19:17:52 +01:00
derekpierre 4f79744972 Fix pytest execution for python tests. 2022-11-02 12:58:34 -04:00
derekpierre d74d533851 Add GH action for running finnegan's wake demo for pull requests/pushes.
Remove CircleCi validation from pre-commit checks.
2022-11-01 14:51:41 -04:00
Kieran Prasch d9353afeb1 Reorganize CI steps; Introduce emoji prefixes. 2022-10-30 17:52:21 +00:00
Kieran Prasch d18fa76fc2 Install solc without pipenv 2022-10-30 16:59:27 +00:00
Kieran Prasch aeddff68ac Include solc installation and contract tests workflow 2022-10-30 16:56:49 +00:00