Skip to content

Commit

Permalink
fix(ci): enable download flagged tests for CI and tweak plaintext
Browse files Browse the repository at this point in the history
… tests for macOS
  • Loading branch information
spool committed Aug 30, 2023
1 parent a78c2dd commit 978e3dd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Run pre-commit
uses: pre-commit/action@main
- name: Run pytest
run: poetry run pytest -n auto -m "not download"
run: poetry run pytest -n auto
- name: Archive coverage svg
uses: actions/upload-artifact@v3
with:
Expand Down
20 changes: 10 additions & 10 deletions alto2txt2fixture/plaintext.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,16 @@ class PlainTextFixture:
<PlainTextFixture(path='.../bl_lwm')>
>>> plaintext_bl_lwm.info()
<BLANKLINE>
...PlainTextFixture for 2 'bl_lwm' files...
┌─────────────────────┬─────────────────────────────────────────...┐
│ Path │ '/.../bl_lwm' ...│
│ Compressed Files │ '/.../bl_lwm/0003079-test_plaintext.zip'...│
│ │ '/.../bl_lwm/0003548-test_plaintext.zip'...│
│ Extract Path │ '/.../bl_lwm/extracted' ...│
│ Uncompressed Files │ None ...│
│ Data Provider │ 'Living with Machines' ...│
│ Initial Primary Key │ 1 ...│
└─────────────────────┴─────────────────────────────────────────...┘
...PlainTextFixture for 2 'bl_lwm' files...
┌─────────────────────┬────────────────────────────────...┐
│ Path │ '/.../bl_lwm' ...│
│ Compressed Files │ '/.../bl_lwm/0003079-test_plain...│
│ │ '/.../bl_lwm/0003548-test_plain...│
│ Extract Path │ '/.../bl_lwm/extracted' ...│
│ Uncompressed Files │ None ...│
│ Data Provider │ 'Living with Machines' ...│
│ Initial Primary Key │ 1 ...│
└─────────────────────┴────────────────────────────────...┘
>>> plaintext_bl_lwm.free_hd_space_in_GB > 1
True
>>> plaintext_bl_lwm.extract_compressed()
Expand Down

0 comments on commit 978e3dd

Please sign in to comment.