Skip to content

Commit

Permalink
Disable coverage workflows temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Sep 10, 2024
1 parent a7c6080 commit 05b4429
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,44 +49,44 @@ jobs:
python -m nox -s test --verbose -- --cov-append
mv .coverage .coverage.${{ matrix.python-version }}
- name: Upload coverage
uses: actions/upload-artifact@v3
with:
name: coverage
path: .coverage.${{ matrix.python-version }}
retention-days: 1
if-no-files-found: error

upload-coverage:
needs: [test]
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Setup python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Download coverage
uses: actions/download-artifact@v3
with:
name: coverage

- name: Combine coverage
run: |
pip install -r ./genshin-dev/pytest-requirements.txt
coverage combine
coverage xml -i
- name: Upload coverage to codeclimate
uses: paambaati/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: cd8c7d84ae5f98d86882d666dce0946fe5aae1e63f442995bd9c6e17869e6513
with:
coverageLocations: .coverage.xml:coverage.py
# - name: Upload coverage
# uses: actions/upload-artifact@v3
# with:
# name: coverage
# path: .coverage.${{ matrix.python-version }}
# retention-days: 1
# if-no-files-found: error

# upload-coverage:
# needs: [test]
# runs-on: ubuntu-latest

# steps:
# - name: Checkout repo
# uses: actions/checkout@v4

# - name: Setup python 3.10
# uses: actions/setup-python@v5
# with:
# python-version: "3.10"

# - name: Download coverage
# uses: actions/download-artifact@v3
# with:
# name: coverage

# - name: Combine coverage
# run: |
# pip install -r ./genshin-dev/pytest-requirements.txt
# coverage combine
# coverage xml -i

# - name: Upload coverage to codeclimate
# uses: paambaati/codeclimate-action@v3.0.0
# env:
# CC_TEST_REPORTER_ID: cd8c7d84ae5f98d86882d666dce0946fe5aae1e63f442995bd9c6e17869e6513
# with:
# coverageLocations: .coverage.xml:coverage.py

type-check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 05b4429

Please sign in to comment.