Move from setup.cfg to pyproject.toml #103
This file contains hidden or 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: CI | |
| on: [push, pull_request] | |
| env: | |
| CI: 'true' | |
| LC_ALL: en_US.UTF-8 | |
| LANG: en_US.UTF-8 | |
| jobs: | |
| test: | |
| name: Test on ${{ matrix.os }} (python=${{ matrix.pyver }} cc=${{ matrix.cc }} builder=${{ matrix.builder }}) | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| CC: ${{ matrix.cc }} | |
| BUILDER: ${{ matrix.builder }} | |
| strategy: | |
| matrix: | |
| include: | |
| - { pyver: "3.8", builder: unix_build.py, os: ubuntu-latest, cc: gcc } | |
| - { pyver: "3.8", builder: unix_build.py, os: ubuntu-latest, cc: clang } | |
| - { pyver: "3.11", builder: setup.py, os: ubuntu-latest, cc: gcc } | |
| - { pyver: "3.11", builder: setup.py, os: macos-latest, cc: clang } | |
| - { pyver: "3.12", builder: setup.py, os: windows-latest, cc: cl } | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@master | |
| with: | |
| fetch-depth: 10 | |
| - name: Set up Python ${{ matrix.pyver }} | |
| uses: actions/setup-python@master | |
| with: | |
| python-version: ${{ matrix.pyver }} | |
| - name: Set up cmake | |
| uses: lukka/get-cmake@latest | |
| - name: Install dependencies | |
| run: | |
| python .github/workflows/ci.py install | |
| - name: Download html5lib tests | |
| run: | |
| git clone --depth 1 https://github.com/html5lib/html5lib-tests.git test/html5lib-tests | |
| - name: Run tests | |
| run: | |
| python .github/workflows/ci.py test |