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

Commit e292736

Browse files
committed
Add upload-overwatch.yml workflow for PR #1181
1 parent e8bbefb commit e292736

File tree

1 file changed

+47
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)