-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (36 loc) · 960 Bytes
/
ci.yml
File metadata and controls
47 lines (36 loc) · 960 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
name: Tests
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
docker-test:
name: Python tests in Docker
if: github.event_name != 'workflow_dispatch'
runs-on: ubuntu-latest
container:
image: python:3.13-slim
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install package
run: python -m pip install -e .
- name: Run tests
run: python -m unittest discover -s tests
macos-test:
name: macOS osacompile tests
if: github.event_name == 'workflow_dispatch'
runs-on: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install package
run: python -m pip install -e .
- name: Run tests
run: python -m unittest discover -s tests