chore: add test for python 3.13-beta #1
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: CI | ||
on: | ||
push: | ||
branches: [develop] | ||
paths: | ||
- "aiotieba/**" | ||
- "tests/**" | ||
- ".github/workflows/CI*" | ||
pull_request: | ||
branches: [develop] | ||
paths: | ||
- "aiotieba/**" | ||
- "tests/**" | ||
- ".github/workflows/CI*" | ||
workflow_dispatch: | ||
jobs: | ||
test-beta: | ||
name: Test-beta | ||
runs-on: ubuntu-latest | ||
environment: develop | ||
env: | ||
python-version: "3.13-dev" | ||
steps: | ||
- name: Checkout develop | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: develop | ||
- name: Setup Python${{ python-version }} | ||
Check failure on line 34 in .github/workflows/CI-beta.yml GitHub Actions / CIInvalid workflow file
|
||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ python-version }} | ||
cache: "pip" | ||
- name: Install dependencies | ||
run: | | ||
pip install --user .[speedup] | ||
pip install --user pytest pytest-asyncio pytest-rerunfailures | ||
- name: Run tests | ||
env: | ||
TB_BDUSS: ${{ secrets.BDUSS }} | ||
TB_STOKEN: ${{ secrets.STOKEN }} | ||
run: pytest |