Skip to content

Bump pdm from 2.8.0 to 2.8.1 #2004

Bump pdm from 2.8.0 to 2.8.1

Bump pdm from 2.8.0 to 2.8.1 #2004

Workflow file for this run

---
# The normal CI run tests with the latest dependency versions.
# This tests with the oldest versions.
# We assume that everything in between will work if these two work.
#
name: CI Versions
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
# * is a special character in YAML so you have to quote this string
# Run at 1:00 every day
- cron: '0 1 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip setuptools wheel
# We use '--ignore-installed' to avoid GitHub's cache which can cause
# issues - we have seen packages from this cache be cause trouble with
# pip-extra-reqs.
python -m pip install --ignore-installed --upgrade --editable .[dev,prompt]
# Oldest versions from requirements.
pip install Sphinx==5.1.1
pip install sphinx-prompt==0.1
pip install docutils==0.19
- name: "Lint"
run: |
make lint
- name: "Build sample"
run: |
make build-sample
- name: "Run tests"
run: |
pytest -s -vvv --cov-fail-under 100 --cov=src/ --cov=tests tests/ --cov-report=xml
- name: "Upload coverage to Codecov"
uses: "codecov/codecov-action@v3"