update project #64
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
| name: tests | |
| on: [push, pull_request, create] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14' ] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip setuptools build wheel | |
| python -m pip install pytest coverage pytest-cov -U | |
| pip install -v . | |
| - name: Test Testable Components | |
| run: | | |
| # All other tests depend upon fixture data not stored with the repository | |
| echo "generating a data file sufficient to extend past 1 member" | |
| curl -o test/data/sample.txt http://textfiles.com/stories/bureau.txt | |
| seq 30000 | xargs -P1 -n1 -I@ cat test/data/sample.txt >> test/data/large.txt | |
| python idzip/command.py test/data/large.txt | |
| pytest -l -s -v test/test_high_level_api.py --cov-report term | |
| pytest -l -s -v test/test_seek_read_behavior.py --cov-report term | |