Skip to content

ci: upgrade deprecated actions/upload-artifact v2 to v4 #147

ci: upgrade deprecated actions/upload-artifact v2 to v4

ci: upgrade deprecated actions/upload-artifact v2 to v4 #147

name: Test Package
# Triggers the workflow on push or pull request events
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python: [3.8, 3.9]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Upgrade PIP
run: python -m pip install --upgrade pip setuptools wheel
- name: Install tox and any other packages
run: pip install -r requirements_dev.txt
- name: Run tox
# Run tox using the version of Python in `PATH`
run: tox -e py