-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1.08 KB
/
ci-python.yml
File metadata and controls
42 lines (39 loc) · 1.08 KB
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
name: CI Python
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version:
- '3.10'
- '3.11'
# - '3.12'
# - '3.13'
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
- name: Install uv and Set up Python ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-extras --dev
- name: Run main.py
timeout-minutes: 1
env:
SKYWAY_APP_ID: ${{ secrets.SKYWAY_APP_ID }}
SKYWAY_SECRET_KEY: ${{ secrets.SKYWAY_SECRET_KEY }}
DUMMY_CHANNEL_ID: 2b1da30d-f002-47eb-bf10-4a7036b88f39
run: echo "$DUMMY_CHANNEL_ID" | uv run src/main.py | grep -q "channel_id"