forked from p9ablo/mega.py
-
Notifications
You must be signed in to change notification settings - Fork 3
50 lines (42 loc) · 915 Bytes
/
ci.yml
File metadata and controls
50 lines (42 loc) · 915 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
41
42
43
44
45
46
47
48
49
50
name: CI
on:
push:
branches:
- master
paths:
- '**.py'
- '.github/workflows/ci.yml'
pull_request:
branches:
- master
paths:
- '**.py'
- '.github/workflows/ci.yml'
workflow_dispatch:
jobs:
test:
env:
EMAIL: ${{ secrets.MEGA_EMAIL }}
PASS: ${{ secrets.MEGA_PASS }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.11, 3.13]
fail-fast: true
defaults:
run:
shell: bash
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync --all-extras
- name: Run pytest
run: |
uv run pytest