Skip to content

Commit 4fc7a98

Browse files
workflows: don't fail fast
1 parent 0e5d5bd commit 4fc7a98

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ jobs:
55
Tests:
66
runs-on: ubuntu-latest
77
strategy:
8+
fail-fast: false
89
matrix:
9-
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]
10+
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.15' ]
1011
name: Python ${{ matrix.python-version }} tests
1112
steps:
1213
- uses: actions/checkout@v4

src/atmst/cartool.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,11 @@ def compact(car_in: str, car_out: str):
7777
})
7878
write_block(carfile_out, new_header)
7979
write_block(carfile_out, bytes(bs.car_root) + encode_dag_cbor(commit))
80-
dedup = {bs.car_root}
8180

8281
for node in NodeWalker(NodeStore(bs), commit["data"]).iter_nodes():
83-
if node.cid not in dedup:
84-
write_block(carfile_out, bytes(node.cid) + node.serialised)
85-
dedup.add(node.cid)
82+
write_block(carfile_out, bytes(node.cid) + node.serialised)
8683
for v in node.vals:
87-
if v not in dedup:
88-
write_block(carfile_out, bytes(v) + bs.get_block(bytes(v)))
89-
dedup.add(v)
84+
write_block(carfile_out, bytes(v) + bs.get_block(bytes(v)))
9085

9186
def _delta_str(a: str, b: str):
9287
if a == b:

src/atmst/mst/node_store.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from typing import Optional, Dict
2-
from functools import lru_cache
32

43
from cbrrr import CID
54
from lru import LRU

0 commit comments

Comments
 (0)