Add messages implementation for python #61
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: test-python | |
on: | |
push: | |
branches: | |
- main | |
- renovate/** | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
python-version: "3.9" | |
- os: ubuntu-latest | |
python-version: "3.10" | |
- os: ubuntu-latest | |
python-version: "3.11" | |
- os: ubuntu-latest | |
python-version: "3.12" | |
- os: ubuntu-latest | |
python-version: "3.13" | |
- os: ubuntu-latest | |
python-version: "pypy3.9" | |
- os: ubuntu-latest | |
python-version: "pypy3.10" | |
- os: windows-latest | |
python-version: "3.13" | |
- os: macos-latest | |
python-version: "3.13" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Generate code | |
working-directory: ./python | |
run: | | |
make clean | |
make generate | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U setuptools | |
pip install tox tox-gh-actions codecov | |
- name: Test with tox | |
working-directory: ./python | |
run: | | |
tox | |
- name: Gather codecov report | |
working-directory: ./python | |
run: | | |
codecov |