Skip to content

Commit

Permalink
revert regression test to not upload anything
Browse files Browse the repository at this point in the history
  • Loading branch information
YigitElma committed Sep 4, 2024
1 parent 5e56f4e commit 646504e
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/regression_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
- 'requirements.txt'
- 'devtools/dev-requirements.txt'
- 'setup.cfg'
- '.github/workflows/regression_tests.yml'
- name: Check for relevant changes
id: check_changes
Expand Down Expand Up @@ -118,40 +117,3 @@ jobs:
verbose: true
attempt_limit: 10
attempt_delay: 60000 # ms, 1 min

- name: Generate 100% Coverage Report
if: env.has_changes == 'false'
run: |
echo '<?xml version="1.0" ?>
<coverage line-rate="1" lines-covered="1" lines-valid="1" branches-covered="0" branches-valid="0" complexity="0" version="7.6.1">
<sources>
<source>/home/runner/work/DESC/DESC/desc</source>
</sources>
<packages>
<package name="." line-rate="1" branch-rate="1" complexity="0">
<classes>
<class name="__init__.py" filename="__init__.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
</lines>
</class>
</classes>
</package>
</packages>
</coverage>' > cov.xml
- name: Upload 100% Coverage Report if skipped
if: env.has_changes == 'false'
id: upload-coverage
uses: Wandalen/[email protected]
with:
action: codecov/codecov-action@v3
with: |
token: ${{ secrets.CODECOV_TOKEN }}
name: codecov-umbrella
files: ./cov.xml
fail_ci_if_error: true
verbose: true
attempt_limit: 10
attempt_delay: 60000 # ms, 1 min

0 comments on commit 646504e

Please sign in to comment.