Skip to content

chore: Clear pip cache for CI #177

chore: Clear pip cache for CI

chore: Clear pip cache for CI #177

Workflow file for this run

name: Unit tests
on: [push]
jobs:
test:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10' ]
steps:
- uses: actions/checkout@v2
- 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
pip cache purge
pip install setuptools wheel coverage
pip install virtualenv tox==3.26.0 tox-wheel==1.0.0 tox-gh-actions
- name: Build, install and run unit tests
run: |
pip install -r requirements.txt
coverage run -m unittest discover vafator.tests
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3