[tests] remove unsupported python version

This commit is contained in:
tobi-wan-kenobi 2022-11-26 10:17:09 +01:00
parent 07e2364f78
commit 0bc2c6b8e1

View file

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] python-version: ['3.7', '3.8', '3.9', '3.10']
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -24,7 +24,7 @@ jobs:
cache: 'pip' cache: 'pip'
- name: Install Ubuntu dependencies - name: Install Ubuntu dependencies
run: sudo apt-get install -y libdbus-1-dev libgit2-dev libvirt-dev taskwarrior run: sudo apt-get install -y libdbus-1-dev libgit2-dev libvirt-dev taskwarrior
- name: Install Python dependencies - name: Install Python dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -U coverage pytest pytest-mock freezegun pip install -U coverage pytest pytest-mock freezegun
@ -38,7 +38,7 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
coverage run --source=. -m pytest tests -v coverage run --source=. -m pytest tests -v
- name: Report coverage - name: Report coverage
uses: paambaati/codeclimate-action@v3.0.0 uses: paambaati/codeclimate-action@v3.0.0
with: with:
coverageCommand: coverage3 xml coverageCommand: coverage3 xml