-
-
Notifications
You must be signed in to change notification settings - Fork 237
47 lines (37 loc) · 999 Bytes
/
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
---
name: "Gitpod"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-24.04
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: |
curl -LsSf https://astral.sh/uv/install.sh | sh
source "$HOME/.cargo/env"
- 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