[feature] Add some missing members (backport #5903) #2910
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
pull_request: | |
branches: | |
- 20** | |
paths: | |
- "src/**" | |
- ".github/workflows/tests.yml" | |
- "pyproject.toml" | |
push: | |
branches: | |
- 20** | |
paths: | |
- "src/**" | |
- ".github/workflows/tests.yml" | |
- "pyproject.toml" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tox: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: | | |
3.8 | |
3.9 | |
3.10 | |
3.11 | |
3.12 | |
3.13 | |
allow-prereleases: true | |
- name: Setup PDM | |
uses: pdm-project/setup-pdm@v3 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox tox-pdm coveralls | |
- name: Test with tox | |
run: tox | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |