diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 7eb0401..3a6f246 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -13,20 +13,26 @@ jobs: python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10'] steps: + - uses: actions/checkout@v1 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt pip install -r requirements-test.txt + - name: Test with unittest run: | coverage run -m unittest coverage xml -o ./coverage.xml + - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 with: