forked from omar2535/GraphQLer
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (26 loc) · 856 Bytes
/
code_climate.yml
File metadata and controls
31 lines (26 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Run code-climate checks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
upload-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install Python dependencies
run: |
sudo apt install -y $(grep -o ^[^#][[:alnum:]-]* "packages.list")
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
# - name: Upload coverage
# uses: paambaati/codeclimate-action@v3.0.0
# env:
# CC_TEST_REPORTER_ID: 4172ebd5ed2de5625710515b639d0fa3cfd4820cb3f35c5c54d018d8404e702c
# with:
# coverageCommand: pytest --exitfirst --verbose --failed-first --cov=. --cov-report xml