Skip to content

Commit

Permalink
Merge pull request #13 from brianhelba/multi-platform-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhelba committed Feb 24, 2021
2 parents 86e0bb6 + 432903e commit 6f06ac0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ on:
- cron: "0 0 * * *"
jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.6", "3.7", "3.8", "3.9"]
steps:
- uses: actions/checkout@v2
Expand All @@ -25,6 +26,10 @@ jobs:
run: |
pip install --upgrade pip
pip install tox
- name: Run tests
- name: Run linting tests
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
tox
tox -e lint,type
- name: Run pytest tests
run: |
tox -e test
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
graft zipfile_deflate64
include zlib/zutil.h
include zlib/gzguts.h
include zlib/zconf.h
include zlib/zlib.h
include zlib/zutil.c
include zlib/zutil.h
graft zlib/contrib/infback9
2 changes: 1 addition & 1 deletion zipfile_deflate64/deflate64/deflate64module.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static PyObject* Deflate64_decompress(Deflate64Object* self, PyObject *args) {
}

self->strm->next_in = input_buffer.buf;
self->strm->avail_in = input_buffer.len;
self->strm->avail_in = (uInt) input_buffer.len;

int err = inflateBack9(self->strm, &zlib_in, self, &zlib_out, self);
switch (err) {
Expand Down

0 comments on commit 6f06ac0

Please sign in to comment.