Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 2b2b29e

Browse files
authored
Integrate overwatch to CI (#1201)
1 parent e6b347d commit 2b2b29e

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Upload Overwatch
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
9+
jobs:
10+
upload-overwatch:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
15+
with:
16+
python-version: '3.13'
17+
- name: Install UV
18+
run: pip install uv
19+
- name: Install Project Dependencies
20+
run: |
21+
uv export --format requirements-txt > requirements.txt
22+
uv pip install -r requirements.txt --system
23+
- name: Install Static Analysis Tools
24+
run: |
25+
pip install mypy==1.15.0
26+
pip install ruff==0.9.6
27+
- name: Install Build Dependencies
28+
run: |
29+
sudo apt-get update
30+
# Install libssl1.1 from Ubuntu 20.04 repositories
31+
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
32+
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
33+
- name: Install Overwatch CLI
34+
run: |
35+
curl -o overwatch-cli https://overwatch.codecov.dev/linux/cli
36+
chmod +x overwatch-cli
37+
- name: Run Overwatch CLI
38+
run: |
39+
./overwatch-cli \
40+
--auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \
41+
--organization-slug codecov \
42+
python \
43+
--python-path $(which python3)

0 commit comments

Comments
 (0)