ci: add release-please configuration and workflow files #23
Workflow file for this run
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 | |
on: | |
pull_request: | |
branches: [main, dev] | |
env: | |
SPEECH_REGION: ${{ secrets.SPEECH_REGION }} | |
SPEECH_KEY: ${{ secrets.SPEECH_KEY }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
matrix: | |
python-version: ["3.11", "3.12"] | |
steps: | |
- name: "Install required packages" | |
run: | | |
sudo apt-get update | |
sudo apt-get install build-essential ca-certificates libasound2-dev libssl-dev wget | |
- name: "Checkout the repository" | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: "Install dependencies" | |
run: | | |
python3 -m pip install uv | |
python3 -m uv pip install . pytest | |
- name: "Test with pytest" | |
run: | | |
pytest |