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
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
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
8126116cb5
Fix failing contracts tests in gh action.
2022-11-02 12:22:44 -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
371139165c
Fix contract tests path
2022-10-30 17:10:10 +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
Kieran Prasch
8d8e022e09
Initial port of circleCI to GH actions
2022-10-30 16:44:16 +00:00
KPrasch
01f5fa1caf
Merge pull request #2921 from theref/darker
...
Add a pre-commit hook and github action for Darker
2022-04-20 07:11:28 -07:00
James Campbell
8973fde259
Add github worklow for darker
2022-04-18 18:48:55 -05:00
Kieran Prasch
c11a0a48cc
Run newsfragment GH action on development
2022-04-01 12:23:55 -07:00
derekpierre
3c6a3eace5
Allow release note github action to handle multiple newsfragment files.
2021-04-12 10:18:29 -04:00
derekpierre
de15276eab
Bloody quotes caused problems.
2020-10-22 11:18:56 -04:00
derekpierre
8ca3a5d84c
Make release note entry check path absolute.
2020-10-22 11:17:42 -04:00