From 898b58831406ef685ebbd3ad3fff512e74fe2f8f Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Tue, 7 Dec 2021 21:05:57 +0100 Subject: [PATCH] Update pythonpackage.yml --- .github/workflows/pythonpackage.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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: