Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,27 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install urllib3==1.25.11 wheel brotlipy coverage codecov
sudo apt install pipx
pipx ensurepath
pipx install poetry

- name: Install warcio
run: python setup.py install
run: poetry install

- name: Output warcio version
run: |
poetry run warcio --version

- name: Run tests
run: python setup.py test
run: poetry run pytest

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
Loading