-
Notifications
You must be signed in to change notification settings - Fork 39
45 lines (36 loc) · 884 Bytes
/
Copy pathci.yml
File metadata and controls
45 lines (36 loc) · 884 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
name: CI
on:
push:
branches: ["main"]
pull_request:
permissions:
contents: read
jobs:
test:
name: Tests (${{ matrix.os }})
runs-on: ${{ matrix.os }}
env:
PYTHONUTF8: "1"
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: "pip"
cache-dependency-path: "pyproject.toml"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev]
- name: Run syntax check
run: |
python -m compileall -q skills/deeppapernote/scripts
- name: Run tests
run: |
python -m pytest -q