docs: update readme #48
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: Tests (Python 3.9) | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ['v*'] | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: tests-py39-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| env: | |
| # Opt every JS action into Node 24 ahead of the June 2026 deadline. | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' | |
| # 3.9 is our declared minimum supported version. Pinned in its own workflow | |
| # so README badges can show pass/fail per Python version at a glance. | |
| jobs: | |
| pytest: | |
| name: pytest | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.9 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.9' | |
| cache: pip | |
| cache-dependency-path: pyproject.toml | |
| - name: Install | |
| # --pre because essentia-tensorflow is a .dev pre-release. | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install --pre -e ".[dev]" | |
| - name: Run tests | |
| run: pytest -q |