No Python 3.12 again #8
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 | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
test_linux: | |
name: "test on linux" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python_version: ["3.9", "3.10", "3.11"] | |
steps: | |
- run: | | |
sudo apt-get install python3-dev build-essential swig libatlas-base-dev | |
- uses: actions/[email protected] | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "${{ matrix.python_version }}" | |
cache: "pip" | |
cache-dependency-path: requirements_dev.txt | |
- run: script/setup --dev | |
- run: | | |
.venv/bin/black wyoming_snowboy/snowboydetect.py | |
.venv/bin/isort wyoming_snowboy/snowboydetect.py | |
- run: | | |
test $(script/run --version) = $(cat wyoming_snowboy/VERSION) | |
- run: script/lint | |
- run: script/test |