Skip to content

Commit 5a957b4

Browse files
committed
Merge branch 'master' into feature/add-session-service
2 parents 8155ed0 + 93154ca commit 5a957b4

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/workflows/master_coverage.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: ArgoPy CI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
7+
jobs:
8+
ci:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
python-version: ["3.10"]
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v3
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install --requirement requirements.txt
24+
pip install --requirement requirements-test.txt
25+
- name: Install codecov cli
26+
run: |
27+
curl https://uploader.codecov.io/verification.gpg | gpg --no-default-keyring --keyring trustedkeys.gpg --import
28+
curl -Os https://uploader.codecov.io/latest/linux/codecov
29+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
30+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
31+
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
32+
shasum -a 256 -c codecov.SHA256SUM
33+
chmod +x codecov
34+
- name: Coverage with pytest
35+
run: |
36+
pytest --no-cov-on-fail --cov argocd --cov-report html --cov-report term --cov-report xml tests
37+
./codecov -t ${CODECOV_TOKEN}

.github/workflows/mr_ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ jobs:
2222
python -m pip install --upgrade pip
2323
pip install --requirement requirements.txt
2424
pip install --requirement requirements-test.txt
25+
- name: Install codecov cli
26+
run: |
27+
curl https://uploader.codecov.io/verification.gpg | gpg --no-default-keyring --keyring trustedkeys.gpg --import
28+
curl -Os https://uploader.codecov.io/latest/linux/codecov
29+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
30+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
31+
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
32+
shasum -a 256 -c codecov.SHA256SUM
33+
chmod +x codecov
2534
- name: Lint Step
2635
run: |
2736
black --check --target-version py310 .
@@ -30,3 +39,4 @@ jobs:
3039
- name: Coverage with pytest
3140
run: |
3241
pytest --no-cov-on-fail --cov argocd --cov-report html --cov-report term --cov-report xml tests
42+
./codecov -t ${CODECOV_TOKEN}

0 commit comments

Comments
 (0)