|
13 | 13 | strategy: |
14 | 14 | fail-fast: false |
15 | 15 | matrix: |
16 | | - python-version: ["3.9", "3.10", "3.11", "3.12"] |
| 16 | + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] |
17 | 17 | bitcoind-version: ["28.1"] |
18 | 18 | experimental: [1] |
19 | 19 | deprecated: [0] |
|
28 | 28 | with: |
29 | 29 | python-version: ${{ matrix.python-version }} |
30 | 30 |
|
| 31 | + - name: Install uv |
| 32 | + uses: astral-sh/setup-uv@v6 |
| 33 | + |
31 | 34 | - name: Download Bitcoin & install binaries |
32 | 35 | run: | |
33 | 36 | export BITCOIND_VERSION=${{ matrix.bitcoind-version }} |
@@ -73,14 +76,10 @@ jobs: |
73 | 76 | pytest-custom-exit-code==0.3.0 \ |
74 | 77 | pytest-json-report |
75 | 78 |
|
76 | | - poetry install --with=dev |
77 | | - poetry update |
78 | | - poetry export --with=dev --without-hashes -f requirements.txt --output requirements.txt |
79 | | - pip install --user -U -r requirements.txt |
80 | | - pip install --user contrib/pyln-client contrib/pyln-testing flaky |
| 79 | + uv sync --all-extras --all-groups |
81 | 80 |
|
82 | 81 | ./configure --disable-valgrind |
83 | | - make -j $(nproc) |
| 82 | + uv run make -j $(nproc) |
84 | 83 | sudo -E bash -c "source $HOME/.cargo/env && rustup default stable && make install" |
85 | 84 |
|
86 | 85 | - name: Test with pytest |
|
91 | 90 | export TEST_DEBUG=1 |
92 | 91 | export TRAVIS=1 |
93 | 92 | export CLN_PATH=${{ github.workspace }}/lightning |
94 | | - pip3 install --upgrade pip |
95 | | - pip3 install --user -U virtualenv pip > /dev/null |
96 | | - python3 .ci/test.py nightly ${{ matrix.python-version }} --update-badges |
| 93 | + uv run --no-project python3 .ci/test.py nightly ${{ matrix.python-version }} --update-badges |
97 | 94 |
|
98 | 95 | gather: |
99 | 96 | # A dummy task that depends on the full matrix of tests, and signals completion. |
|
0 commit comments