forked from Jason-Vaughan/TangleBrain
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 739 Bytes
/
Copy pathci.yml
File metadata and controls
28 lines (24 loc) · 739 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
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: make test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# Runs the hermetic suite exactly as a contributor does (lint + venv + unittest).
# The TANGLEBRAIN_LIVE-gated tests are skipped: CI has no backend, and the env var
# is deliberately left unset.
- name: Run the test suite
run: make test