summaryrefslogtreecommitdiffstats
path: root/.github/workflows/nos.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-03 09:16:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-03 09:16:33 +0000
commit6ce7ea1e9831816db33e8b5f4ec35135238e6f76 (patch)
tree242691315818f756792d2310e2a6315a0cbcf7c6 /.github/workflows/nos.yml
parentAdding upstream version 0.16.2. (diff)
downloadgita-e02f8d2162d97431ccdfe363651472ff28f9f407.tar.xz
gita-e02f8d2162d97431ccdfe363651472ff28f9f407.zip
Adding upstream version 0.16.3.upstream/0.16.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/nos.yml')
-rw-r--r--.github/workflows/nos.yml20
1 files changed, 11 insertions, 9 deletions
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 }}