Skip to content

Commit 199d30a

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

File tree

1 file changed

+48
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)