docs: clarify service setup #52
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.11) | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ['v*'] | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: tests-py311-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' | |
| # 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.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| 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 |