Skip to content

Commit

Permalink
ci: python unittest.
Browse files Browse the repository at this point in the history
  • Loading branch information
yankun1992 committed Jul 19, 2023
1 parent 4c78c99 commit 6c86ec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ env:
jobs:
test:
name: Build and test Java
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest", "windows-latest", "ubuntu-latest"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down
2 changes: 2 additions & 0 deletions py_tests/test_save_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def test_save():
os.remove('data/counting.bin')
except Exception as e:
pass
else:
os.makedirs('data')

with open('data/bloom.bin', "wb") as f:
array = bloom.get_bytes()
Expand Down

0 comments on commit 6c86ec0

Please sign in to comment.