From 9c4b870e75ec43120e43968462515790e646de10 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 3 May 2023 11:16:38 +0200 Subject: Merging upstream version 0.16.3. Signed-off-by: Daniel Baumann --- .github/workflows/nos.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/nos.yml b/.github/workflows/nos.yml index 9b81b05..52cf572 100644 --- a/.github/workflows/nos.yml +++ b/.github/workflows/nos.yml @@ -4,24 +4,26 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9] + os: [ubuntu-20.04, macos-latest, windows-latest] + python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependences run: | - python -m pip install --upgrade pip + python -m pip install --upgrade pip wheel pip install -r requirements.txt - pip install . + pip install -e . - name: Pytest run: | - pytest tests --cov=./gita + pytest tests --cov=./gita --cov-report=xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} -- cgit v1.2.3