[automation] Auto-update linters version, help and documentation #4549
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |