Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
tests: Update GitHub Actions for Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
zevaryx committed Oct 24, 2022
1 parent 0d7ba6e commit f8c335b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pytest-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
- .[speedup]
- .[voice]
- .[all]
python-version:
- "3.10"
- "3.11"

steps:
- name: Create check run
Expand Down Expand Up @@ -45,10 +48,10 @@ jobs:
uses: actions/checkout@v2
with:
ref: 'refs/pull/${{ github.event.client_payload.pull_request.number }}/merge'
- name: Set up Python 3.10
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2.3.1
with:
python-version: '3.10'
python-version: ${{ matrix.python-version }}
- name: Install ffmpeg & opus
run: sudo apt-get install ffmpeg libopus-dev
- name: Install pytest
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/pytest-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ jobs:
- .[voice]
- .[all]
- .[docs]
python-version:
- "3.10"
- "3.11"

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2.3.1
with:
python-version: '3.10'
python-version: ${{ matrix.python-version }}
- name: Install ffmpeg & opus
run: sudo apt-get update && sudo apt-get install ffmpeg libopus-dev
- name: Install pytest
Expand Down

0 comments on commit f8c335b

Please sign in to comment.