Skip to content

Commit 0694d1d

Browse files
authored
updateBuild (#99)
artifact v2 depreciated with github actions, so this updates to v4
1 parent cf75dc9 commit 0694d1d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
gdb -ex "run" -ex "bt full" -ex "quit" --args python -m pytest ./py/tests -v
112112
113113
- name: Upload artifacts
114-
uses: actions/upload-artifact@v2
114+
uses: actions/upload-artifact@v4
115115
with:
116116
name: dist-${{ runner.os }}-${{ matrix.arch }}
117117
path: py/dist/
@@ -135,7 +135,7 @@ jobs:
135135
pip install twine
136136
137137
- name: Download artifacts
138-
uses: actions/download-artifact@v2
138+
uses: actions/download-artifact@v4
139139
with:
140140
path: dist
141141

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
pdoc ./py/dnadesign -o ./docs
6464
6565
- name: Upload artifact
66-
uses: actions/upload-pages-artifact@v2
66+
uses: actions/upload-pages-artifact@v4
6767
with:
6868
path: './docs' # Adjust this to your build output directory
6969

py/tests/test_fragment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ def test_recursive_fragment():
4242
result = recursive_fragment(gene, max_oligo_len, assembly_pattern, exclude_overhangs, default_overhangs)
4343
assert result is not None, "RecursiveFragment failed"
4444
# Add more specific assertions based on the expected structure of the result
45+
assert result.fragments == ['ATGACCATGATTACGCCAAGCTTGCATGCCTGCAGGTCGACTCTAGAGGATCCCCGGGTACCGAGCTCGAATTCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAG', 'CCAGCTGGCGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCCTGATGCGGTATTTTCTCCTTACGCATCTGTGCGGTATTTCACACCGCATATGGTGCACTCTCAGTACAATCTGCTCTGATGCCGCATAG']

0 commit comments

Comments
 (0)