Skip to content

Commit dadb35e

Browse files
authored
Merge pull request #36 from Textualize/add-serve
Add serve
2 parents 14f9fb2 + 9b880fa commit dadb35e

File tree

6 files changed

+573
-378
lines changed

6 files changed

+573
-378
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,48 @@ name: Test textual-dev
33
on:
44
pull_request:
55
paths:
6-
- '.github/workflows/pythonpackage.yml'
7-
- '**.py'
8-
- '**.pyi'
9-
- '**.css'
10-
- '**.lock'
11-
- 'Makefile'
6+
- ".github/workflows/pythonpackage.yml"
7+
- "**.py"
8+
- "**.pyi"
9+
- "**.css"
10+
- "**.lock"
11+
- "Makefile"
1212
push:
1313
branches:
14-
- 'main'
14+
- "main"
1515

1616
jobs:
1717
build:
1818
runs-on: ${{ matrix.os }}
1919
strategy:
2020
matrix:
2121
os: [ubuntu-latest, macos-latest, windows-latest]
22-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
22+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
23+
# Python 3.9 is on macos-13 but not macos-latest (macos-14-arm64)
24+
# https://github.com/actions/setup-python/issues/696#issuecomment-1637587760
25+
exclude:
26+
- { python-version: "3.8", os: "macos-latest" }
27+
- { python-version: "3.9", os: "macos-latest" }
28+
- { python-version: "3.11", os: "macos-latest" }
29+
include:
30+
- { python-version: "3.8", os: "macos-13" }
31+
- { python-version: "3.9", os: "macos-13" }
32+
- { python-version: "3.11", os: "macos-13" }
2333
defaults:
2434
run:
2535
shell: bash
2636
steps:
2737
- uses: actions/[email protected]
28-
- name: Install and configure Poetry # This could be cached, too...
38+
- name: Install and configure Poetry # This could be cached, too...
2939
uses: snok/[email protected]
3040
with:
3141
version: 1.4.2
3242
virtualenvs-in-project: true
3343
- name: Set up Python ${{ matrix.python-version }}
34-
uses: actions/setup-python@v4.6.0
44+
uses: actions/setup-python@v5.2.0
3545
with:
3646
python-version: ${{ matrix.python-version }}
37-
architecture: x64
47+
3848
- name: Load cached venv
3949
id: cached-poetry-dependencies
4050
uses: actions/cache@v3

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__pycache__/
33
*.py[cod]
44
*$py.class
5-
5+
.vscode/
66
# C extensions
77
*.so
88

0 commit comments

Comments
 (0)