forked from TencentBlueKing/bkpaas-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 890 Bytes
/
bkapi-client-core.yml
File metadata and controls
40 lines (33 loc) · 890 Bytes
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
name: bkapi-client-core
on:
push:
branches:
- master
paths:
- "sdks/bkapi-client-core/**"
pull_request:
branches:
- "master"
paths:
- "sdks/bkapi-client-core/**"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7"]
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup uv
uses: astral-sh/setup-uv@v5
- name: Install Nox
run: uv pip install --system nox
- name: Run tests on ${{ matrix.os }}
working-directory: sdks/bkapi-client-core
run: nox --non-interactive --error-on-missing-interpreters --session "tests(python='${{ matrix.python-version }}')" -- --full-trace