Navegador

navegador / .github / workflows / ci.yml
Blame History Raw 52 lines
1
name: CI
2
3
on:
4
push:
5
branches: [main]
6
pull_request:
7
branches: [main]
8
9
jobs:
10
test:
11
runs-on: ${{ matrix.os }}
12
strategy:
13
matrix:
14
os: [ubuntu-latest, macos-latest]
15
python-version: ["3.12", "3.13", "3.14"]
16
steps:
17
- uses: actions/checkout@v4
18
19
- name: Set up Python ${{ matrix.python-version }}
20
uses: actions/setup-python@v5
21
with:
22
python-version: ${{ matrix.python-version }}
23
24
- name: Install dependencies
25
run: |
26
python -m pip install --upgrade pip
27
pip install -e ".[dev]"
28
29
- name: Run tests
30
run: pytest tests/ -v --tb=short
31
32
- name: Check code style
33
run: ruff check navegador/
34
35
lint:
36
runs-on: ubuntu-latest
37
steps:
38
- uses: actions/checkout@v4
39
40
- uses: actions/setup-python@v5
41
with:
42
python-version: "3.13"
43
44
- name: Install dependencies
45
run: pip install ruff mypy
46
47
- name: Ruff
48
run: ruff check navegador/
49
50
- name: Type check
51
run: mypy navegador/ --ignore-missing-imports || true
52

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button