dni ⚡
8ff4962e86
test: update ci from ubuntu-latest to ubuntu-24.04 ( #2809 )
2024-12-11 11:38:06 +02:00
dni ⚡
57e9d2271d
test: update python to 3.10 and 3.11 inside CI ( #2803 )
...
* test: update python to 3.10 and 3.11 inside CI
* fixup!
2024-12-11 10:39:25 +02:00
dni ⚡
e607ab7a3e
test: restructure tests ( #2444 )
...
unit, api, wallets
* only run test-api for migration
2024-04-19 13:22:06 +02:00
dni ⚡
209e2c5bff
test: make nice pytest reports on github ( #2376 )
...
* test: make nice pytest reports on github
utilizing this action: https://github.com/pavelzw/pytest-action/
2024-04-05 08:35:51 +02:00
dni ⚡
cdc102af07
chore: update to node 20.x on workflows ( #2364 )
...
gets rid of deprecating warnings in actions
* checkout@v4
* cache@v4
* setup-python@v5
* setup-node@v4
* codecov-action@v4
* codecov pass token from ci
2024-03-26 14:18:58 +01:00
dni ⚡
6efe1a156b
[FEAT] add codecov token ( #1908 )
...
for better coverage reports
2023-08-28 13:49:33 +02:00
dni ⚡
c54f48ee73
[CI] improve on github workflows ( #1889 )
...
* [CI] making a proper github CI workflow
2023-08-24 12:36:37 +02:00
dni ⚡
c7cf743852
[TEST] run tests.yml on py39 and py310 ( #1882 )
...
i think it is a good idea to test both at least for fakewallet tests.
2023-08-18 09:50:56 +01:00
dni ⚡
213be79aaa
quickfix for failing checks ( #1819 )
...
root package is needed for tests
root package is needed for mypy
removing testfile
2023-07-11 13:25:35 +02:00
dni ⚡
f7cbe74d77
Update poetry to 1.5.1 ( #1804 )
...
* update poetry to 1.5.1 inside workflows
* update lock file to poetry 1.5.1
* test run 1
* test run 2
* run 3
* try different sortorder
* cli should use --no-root
here are the refereneces.
https://python-poetry.org/docs/basic-usage/#installing-dependencies-only
https://pip.pypa.io/en/stable/topics/local-project-installs/#regular-installs
* cache migrations aswell
* test flake
* optimize docker image for regtest building
* playng
* remove test run 1
* remove run 2
* remove run 3
* run 4
* run 6
* run 7
* run 8
* run 9
* run 10
2023-07-11 12:46:40 +02:00
dni ⚡
4dd206da2a
good bye venv ( #1569 )
...
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-03-16 16:45:23 +01:00
dni ⚡
b2a963638d
TEST: update actions setup-python to v4 and checkout to v3, add caching to python ( #1428 )
...
* update actions setup-python to v4 and checkout to v3, add caching to python
* fix ordering of steps for poetry to be cached
* poetry setup ordering
* order in formatting.yml
2023-01-29 11:46:20 +01:00
dni ⚡
e106ec3e9c
FIX: improve workflow stability ( #1397 )
...
* FIX: improve workflow stability
* just testing
* just testing, nr. 3
2023-01-23 12:57:37 +01:00
dni ⚡
7218057ca2
update lock file and workflows to poetry 1.3.1
2022-12-27 13:20:07 +01:00
dni ⚡
552e4a9041
remove unused env in tests
2022-12-07 13:57:08 +01:00
Arc
b46c06012d
Revert "make gh workflows only run on pull_request"
2022-10-06 17:51:36 +01:00
dni ⚡
79319faa21
make workflows only run on pull_request
2022-10-06 10:17:21 +02:00
dni ⚡
19b1374d51
fixing tests for new poetry version ^1.2
2022-09-27 17:44:52 +02:00
calle
8535d70d36
Poetry dev ( #837 )
...
* black and isort for tests
* black and isort for build
* use poetry in Makefile, update pyproject.toml dependencies and add configs for black, pytest, mypy, isort there
* switching github workflow to poetry
* set mininum version to python 3.7
* fix tests
* add types-protobuf to dev packages
* fix cln regtest
* update docs
* try fix 1
* mypy fix2
* fix isort formatting workflow
* add prettier to dev docs
* multiple valid python version for pyproject
* update poetry.lock
* remove development installation, not needed anymore
* fix migration workflows
* format into one test
* fix yaml
* fix pipeline
* fix pipeline
* fix again
* fix
* rename checks
* remove venv tests
* venv test once
Co-authored-by: dni <dni.khr@gmail.com>
2022-08-03 14:10:32 +02:00
calle
f24d593f00
Fix docker staticfiles ( #811 )
...
* Fix staticfiles for docker install
* docker build instructions
* all tests python 3.9
Co-authored-by: cryptoteun <73664763+cryptoteun@users.noreply.github.com>
2022-07-30 17:09:14 +02:00
ben
19b6acf932
removed pipenv tests
2022-07-28 11:23:03 +01:00
calle
96af5fc3a7
CI: Test core/views/generic.py ( #772 )
...
* Adds tests for GET /wallet
* Update `httpx` to `0.23.0` and `http-core` to `0.15.0` in `venv` installation path
* Fix `secp256k1 = "==0.14.0"` and `cffi = "==1.15.0"`
2022-07-23 10:39:58 +02:00
calle
1f13bdeb2f
Pipenv/fix install loguru ( #732 )
...
* update pipfile
* pipenv workflow
* pipfile jinja
* Pipfile installs dev files
* python3.8 tests only
* version tag yaml
* all tests
* pipenv with pip
* only 3.7
* activate env
* test-pipenv
* pipenv importlib_metadata
* importlib-metadata
* 3.8
* 3.7 only oops
* merge install guides
* install guide in README
2022-07-13 01:15:48 +02:00
Arc
41dda6fd01
Revert "Fixed psycopg2 error on aarch64" ( #729 )
...
* Revert "Fixed psycopg2 error on aarch64 (#658 )"
This reverts commit 8a20b779df .
* remove psycopg from build pipeline
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-07-11 17:18:28 +02:00
calle
63d4e60542
Testing: postgres db backend ( #711 )
...
* try postgres run
* fix yaml
* test with postgres
* check with postgres
* inkey_from
* remove trio
* add coverage
* add coverage
* more python testing
* use @pytest_asyncio.fixture
* remove unused imports
* fix api_payment payment lookup
* measure durations
2022-07-07 18:29:26 +02:00
calle
f6da260464
Automated tests ( #566 )
...
* return error for wrong key
* payment check use key dependency
* more expressive error
* re-add optional key
* more tests
* more
* more granular
* more testing
* custom event_loop
* tests work
* fix lots of mypy errors
* test_public_api
* both files
* remove unused import
* tests
* tests working
* rm empty file
* minimal test
* set FAKE_WALLET_SECRET="ToTheMoon1"
* set FAKE_WALLET_SECRET="ToTheMoon1"
* trial and error
* trial and error
* test postgres
* test postgres
* test postgres
* test postgres
* test postgres
* test postgres
* test build
* skip mypy
2022-06-27 00:11:46 +02:00
Charles Hill
4e6c30a909
Unit tests for FastAPI branch
...
Run via `make test`
2021-12-04 13:11:45 -06:00
Tim K
74074d148e
Update LNPay endpoint
2021-04-11 16:06:08 -04:00
Eneko Illarramendi
6b33f150c6
fix: revert default python version to 3.7 in Pipfile, closes #85
...
But tests will be run on both 3.7 and 3.8 as we want to support >= 3.7
2020-09-04 21:19:06 +02:00
Eneko Illarramendi
23cfe0d417
chore: update github workflows
2020-09-03 23:10:41 +02:00
fiatjaf
753e9c5b15
make linting workflow reflect what is done locally (Makefile).
2020-09-02 23:16:23 -03:00
Eneko Illarramendi
8442f277c4
tests: only use github for CI
2020-04-28 23:09:59 +02:00