A programming framework for agentic AI
code coverage (#79)
Qingyun Wu3e991e4352d7
diff --git a/.coveragerc b/.coveragercindex ca97263d2..1d8d57370 100644--- a/.coveragerc+++ b/.coveragerc@@ -2,4 +2,4 @@branch = Truesource = flamlomit =- *tests*\ No newline at end of file+ *test*\ No newline at end of filediff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.ymlindex a3a570472..7cef0a948 100644--- a/.github/workflows/python-package.yml+++ b/.github/workflows/python-package.yml@@ -7,7 +7,7 @@ on:push:branches: ['main']pull_request:- branches: ['*']+ branches: ['main']jobs:build:@@ -49,13 +49,17 @@ jobs:# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wideflake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics- name: Test with pytest+ if: ${{ matrix.python-version != '3.7' || matrix.os == 'macos-latest' }}run: |pytest test- name: Coverage+ if: ${{ matrix.python-version == '3.7' && matrix.os != 'macos-latest' }}run: |+ pip install coveragecoverage run -a -m pytest testcoverage xml- name: Upload coverage to Codecov+ if: ${{ matrix.python-version == '3.7' && matrix.os != 'macos-latest' }}uses: codecov/codecov-action@v1with:file: ./coverage.xml