Skip to content

chore: add test for python 3.13-beta #1

chore: add test for python 3.13-beta

chore: add test for python 3.13-beta #1

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/CI-beta.yml (Line: 34, Col: 15): Unrecognized named-value: 'python-version'. Located at position 1 within expression: python-version .github/workflows/CI-beta.yml (Line: 37, Col: 27): Unrecognized named-value: 'python-version'. Located at position 1 within expression: python-version
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