Commit Graph

82 Commits (3f271a426175c12def62163ca4d2f08c065718bd)

Author SHA1 Message Date
derekpierre 1ec641d801
Update version of docker/login-action job to v3. 2024-04-19 08:12:17 -04:00
derekpierre 55440023ae
Use latest version of codecov action for github workflow. 2024-04-12 09:04:18 -04:00
derekpierre 64074c842c
Update lynx github action to use polygon amoy endpoint. 2024-04-10 09:04:11 -04:00
KPrasch 190f778637
remove Pipenv 2024-03-25 13:32:28 -04:00
James Campbell 03222c143d Build and push package to pypi whenever a release is published 2024-02-07 21:09:10 +01:00
derekpierre 99ebdfe8dc Deprecate use of goerli blockchain; Lynx will now use Sepolia. 2024-01-04 13:23:02 -05: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
derekpierre 2f77acdf30 Update docker build, tag, publication workflow. 2023-10-18 14:51:06 -04:00
Kieran Prasch f9c4f86ff4 automation: docker publication triggered by git tagging 2023-10-18 20:15:53 +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
derekpierre 78cc17a6af Move Profiler to utilities so that it can be used in other areas of the code eg. other demos etc. 2023-10-14 11:36:59 -04:00
David Núñez 05395f3acd
Change cron schedule of Lynx script to hourly 2023-10-14 04:19:41 +02:00
derekpierre 8ef255248a
Add env variable to gh action file. 2023-10-14 04:19:11 +02:00
derekpierre aaa89c730e Add optional python profiling to script and use profiling functionality for lynx workflow job on CI. 2023-10-13 11:49:53 -04: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
LunarBytes b73142a4d0
Merge pull request #3274 from nucypher/lynx-gh
Running Lynx simple example as a GH action
2023-10-12 18:35:55 +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
David Núñez 924891dc7e
Bypass cached dependencies (WIP)
See https://github.com/nucypher/nucypher/pull/3272
2023-10-10 10:37:29 +02:00
David Núñez 15895e3529
Funny thing, vars are not accessible either. Let's hardcode them for the moment
That's a bit lame, Github.

For readers, see https://github.com/orgs/community/discussions/44322
2023-10-10 10:37:29 +02:00
David Núñez 4285137026
Actually, no, use GH variables instead of GH secrets
GH secrets are not accessible to workflows triggered by PRs from forks, which doesn't work with how we work. Lets use variables instead, with the caveat that these are public now. Not a problem since we configured in such a way that they only work for Lynx contracts.
2023-10-10 10:37:29 +02:00
David Núñez 0b93dd6ecb
Use GH environment secrets to pass endpoint URIs 2023-10-10 10:37:29 +02:00
David Núñez 5c987f1372
First pass at a simple GH action that runs a lynx encryption/decryption 2023-10-10 10:35:33 +02:00
David Núñez b217542992
Update ruff GH workflow to remove warning 2023-10-10 10:35:33 +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 75396430ee Update python and darker version used for darker lint job. 2023-09-21 09:51:16 -04:00
derekpierre f22db91ea3 Use unique job ids for ruff and darker. 2023-09-21 09:51:16 -04:00
Owen Campbell 588b5f72b9
Split gh action for ruff into separate workflow 2023-07-06 11:34:41 +01:00
Owen Campbell a7b9d35d88
Remove isort option from darker gh action workflow 2023-06-29 12:41:09 +01:00
Owen Campbell 7554837934
Add ruff linting to pre-commit and github actions workflow 2023-06-29 11:58:18 +01: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 1c531d1908 Code cleanup around building of documentation, removal of solidity scripts/API docs from docs build, removal of deployer CLI text etc. 2023-05-02 10:23:24 -07:00
derekpierre 019264b770 Use latest version of darker that resolves imcompatibility with `black` library. 2023-01-05 14:31:33 -05:00
KPrasch f2f8b27f88
Merge pull request #3030 from KPrasch/unfederated
Retire Federated Runtime
2022-12-22 11:53:31 -08:00
derekpierre 80a0b2f365 Use specific sha commit from darker repos which resolves current issue. Change to new version which contains the fix when applicable. 2022-12-09 13:59:06 -05:00
Kieran Prasch 50059c3622 Removes federated demos and supporting automation 2022-12-07 11:29:26 +00: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 9f07129d84 Allow for *.dev.rst newsfragments for dev-specific work, which allows for the release note gh action to pass without including information (pr/issue number) in the release notes. 2022-11-16 14:07:38 -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