-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (23 loc) · 741 Bytes
/
Copy pathci.yml
File metadata and controls
25 lines (23 loc) · 741 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
name: CI
on:
push:
branches: ["**"]
pull_request:
jobs:
tests:
# Skipped when CI runs on a developer machine; see .localci.yml.
if: vars.CI_LOCATION != 'local'
runs-on: ubuntu-latest
strategy:
# 3.11 is the floor because that is what the apps' own CI runs, and this
# package cannot choose their interpreter. A backslash inside an f-string
# expression parses on 3.12 and not on 3.11, which is exactly how this
# package first reached an app's CI broken.
matrix:
python: ["3.11", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- run: python3 tests/test_appsite.py