Skip to content

Commit 1f0e6a2

Browse files
authored
Add working ci for flask test suite. (#3177)
2 parents a67f0f1 + c9c9d61 commit 1f0e6a2

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test-flask.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test Flask Main
2+
on:
3+
pull_request:
4+
paths-ignore: ['docs/**', 'README.md']
5+
push:
6+
branches: [main, stable]
7+
paths-ignore: ['docs/**', 'README.md']
8+
jobs:
9+
flask-tests:
10+
name: flask-tests
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
14+
with:
15+
enable-cache: true
16+
prune-cache: false
17+
- run: git clone https://github.com/pallets/flask
18+
- run: uv venv --python 3.14
19+
working-directory: ./flask
20+
- run: source .venv/bin/activate
21+
working-directory: ./flask
22+
- run: uv sync --all-extras
23+
working-directory: ./flask
24+
- run: uv run --with "git+https://github.com/pallets/click.git@main" -- pytest
25+
working-directory: ./flask

0 commit comments

Comments
 (0)