Skip to content

Commit

Permalink
run tests on any branch and turn off codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
mhidas committed Jan 17, 2025
1 parent d78192d commit 2905348
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: python-aodncore

on:
push:
branches: [ master ]
# branches: [ master ]
pull_request:
branches: [ master ]

Expand All @@ -26,12 +26,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r test_requirements.txt
pip install pytest-cov
# pip install pytest-cov
pip list
- name: Test with pytest
run: |
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
pytest
# pytest --cov=./ --cov-report=xml
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
# with:
# file: ./coverage.xml

0 comments on commit 2905348

Please sign in to comment.