Skip to content

Drop support for python 3.9 and 3.10 #728

Drop support for python 3.9 and 3.10

Drop support for python 3.9 and 3.10 #728

Workflow file for this run

name: Run tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 12 * * 6"
workflow_dispatch:
jobs:
py-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: "true"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
with:
python-version: ${{ matrix.python-version }}
- name: install prerequisites
run: |
python -m pip install --upgrade pip wheel
python -m pip install -r ./piped/python/base-requirements/nox.txt
- name: Run tests
run: |
python -m nox -s test
# TODO: Could we switch over to gather coverage from the normal test runs and combining
# the result once https://github.com/nedbat/coveragepy/issues/1002 is fixed?
upload-coverage:
# needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: "true"
- name: Set up Python 3.11
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
with:
python-version: "3.11"
- name: install prerequisites
run: |
python -m pip install --upgrade pip wheel
python -m pip install -r ./piped/python/base-requirements/nox.txt
- name: Record coverage
run: |
python -m nox -s test-coverage
- name: Upload coverage
uses: paambaati/codeclimate-action@f429536ee076d758a24705203199548125a28ca7
env:
CC_TEST_REPORTER_ID: 4bf1f4002804f947bebae669d631cad28e39b6516f6c3d4ead820c07949e57d1
with:
coverageLocations: .coverage.xml:coverage.py
- name: Archive coverage
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
with:
name: coverage
path: ./coverage_html
if-no-files-found: error