-
Notifications
You must be signed in to change notification settings - Fork 71
44 lines (35 loc) · 948 Bytes
/
CI-beta.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI-beta
on:
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${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Setup UV
uses: yezz123/setup-uv@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libxml2-dev libxslt1-dev
uv venv
uv pip install .
uv pip install pytest pytest-asyncio pytest-rerunfailures
- name: Run tests
env:
TB_BDUSS: ${{ secrets.BDUSS }}
TB_STOKEN: ${{ secrets.STOKEN }}
run: |
source .venv/bin/activate
pytest