-
-
Notifications
You must be signed in to change notification settings - Fork 242
51 lines (41 loc) · 1.17 KB
/
gitpod.yml
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
48
49
50
51
---
name: "Gitpod"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-24.04
env:
# renovate: datasource=github-releases depName=astral-sh/uv
UV_VERSION: 0.5.7
steps:
- name: Set TERM environment variable
run: echo "TERM=xterm" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: '.python-version' # Read python version from a file .python-version
- name: Install dependencies (pip)
run: make bootstrap --debug
- run: |
rm -rf .venv
pip cache purge
- run: |
# Show available shell options
curl -LsSf https://astral.sh/uv/install.sh | sh -s -- --help
curl -LsSf "https://astral.sh/uv/${UV_VERSION}/install.sh" | sh -s -- -v
- name: Install dependencies (uv)
run: make bootstrap --debug
- name: Run Gitpod tests
uses: nick-invision/retry@v3
with:
max_attempts: 3
timeout_minutes: 10
command: make gitpod-tests --debug