Add support for classes #94
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: validate-main | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
validate-matrix-linux: | |
strategy: | |
matrix: | |
os-version: [ubuntu-22.04, ubuntu-24.04] | |
python-version: [3.11, 3.12] | |
runs-on: ${{ matrix.os-version }} | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Lint | |
run: | | |
python3 -m venv .venv | |
source .venv/bin/activate | |
python3 -m pip install pip --upgrade pylint | |
pylint src/qdox/main.py | |
- name: Validate | |
run: | | |
python3 -m pip install . | |
mv docs/index.html docs/validate.html | |
qdox --withcss | |
diff docs/index.html docs/validate.html || (echo '***ERROR***: Did you forget to run `make` before pushing your latest changes?' >/dev/stderr && false) | |
validate-matrix-macos: | |
strategy: | |
matrix: | |
os-version: [macos-13, macos-14, macos-15] | |
python-version: [3.11, 3.12] | |
runs-on: ${{ matrix.os-version }} | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Lint | |
run: | | |
python3 -m venv .venv | |
source .venv/bin/activate | |
python3 -m pip install pip --upgrade pylint | |
pylint src/qdox/main.py | |
- name: Validate | |
run: | | |
python3 -m pip install . | |
mv docs/index.html docs/validate.html | |
qdox --withcss | |
diff docs/index.html docs/validate.html || (echo '***ERROR***: Did you forget to run `make` before pushing your latest changes?' >/dev/stderr && false) | |
validate-matrix-windows: | |
strategy: | |
matrix: | |
os-version: [windows-2019, windows-2022] | |
python-version: [3.11, 3.12] | |
runs-on: ${{ matrix.os-version }} | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Lint | |
run: | | |
python3 -m venv .venv | |
. .venv/scripts/activate | |
python3 -m pip install pip --upgrade pylint | |
pylint src/qdox/main.py | |
- name: Validate | |
run: | | |
python3 -m pip install . | |
mv docs/index.html docs/validate.html | |
qdox --withcss | |
diff docs/index.html docs/validate.html || (echo '***ERROR***: Did you forget to run `make` before pushing your latest changes?' >/dev/stderr && false) | |