#57 - example on how to use ruamel with the new custom class loader #177
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 | |
on: | |
pull_request: | |
push: | |
schedule: | |
# first of each month | |
- cron: '0 0 1 * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
distro: | |
- debian11 | |
- debian12 | |
python-version: | |
- '3.9' | |
- '3.11' | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: Set up python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies for ${{ matrix.python-version }} | |
run: | | |
#sudo apt-get install python3-yaml python3-jinja2 python3-virtualenv | |
sudo pip3 install pylint PyYAML Jinja2 | |
sudo pip3 install -U setuptools wheel ujson pip virtualenv | |
- name: Install make | |
run: sudo apt-get install make | |
- name: test install with virtualenv and run some tests | |
run: PYVERSIONS=python${{ matrix.python-version }} make testinstallvirtualenv | |
- name: install build deps | |
run: | | |
sudo apt-get update | |
sudo apt install python3-all python3-virtualenv dh-python debhelper lintian python3-restructuredtext-lint | |
- name: test readme | |
run: make testreadme | |
- name: test building deb package | |
run: make debunsigned |