Skip to content

Commit

Permalink
updateBuild (#99)
Browse files Browse the repository at this point in the history
artifact v2 depreciated with github actions, so this updates to v4
  • Loading branch information
Koeng101 authored Sep 24, 2024
1 parent cf75dc9 commit 0694d1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
gdb -ex "run" -ex "bt full" -ex "quit" --args python -m pytest ./py/tests -v
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist-${{ runner.os }}-${{ matrix.arch }}
path: py/dist/
Expand All @@ -135,7 +135,7 @@ jobs:
pip install twine
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: dist

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
pdoc ./py/dnadesign -o ./docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v4
with:
path: './docs' # Adjust this to your build output directory

Expand Down
1 change: 1 addition & 0 deletions py/tests/test_fragment.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ def test_recursive_fragment():
result = recursive_fragment(gene, max_oligo_len, assembly_pattern, exclude_overhangs, default_overhangs)
assert result is not None, "RecursiveFragment failed"
# Add more specific assertions based on the expected structure of the result
assert result.fragments == ['ATGACCATGATTACGCCAAGCTTGCATGCCTGCAGGTCGACTCTAGAGGATCCCCGGGTACCGAGCTCGAATTCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAG', 'CCAGCTGGCGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCCTGATGCGGTATTTTCTCCTTACGCATCTGTGCGGTATTTCACACCGCATATGGTGCACTCTCAGTACAATCTGCTCTGATGCCGCATAG']

0 comments on commit 0694d1d

Please sign in to comment.