diff --git a/.coveragerc b/.coveragerc index ee6ec14..76f2838 100644 --- a/.coveragerc +++ b/.coveragerc @@ -3,6 +3,13 @@ [run] branch = True -source = spreadflow_delta +source_pkgs = + spreadflow_delta omit = - spreadflow_delta/test/* + /tmp/** + spreadflow_delta/test/** + +[report] +omit = + /tmp/** + spreadflow_delta/test/** diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index d255cd7..78a7e9a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -29,8 +29,7 @@ jobs: python -m pip install --editable .[tests] - name: Test with trial run: | - COVERAGE_PROCESS_START=`pwd`/.coveragerc trial spreadflow_delta - coverage combine `pwd` `pwd`/_trial_temp + coverage run `which trial` spreadflow_delta coverage xml - name: Coveralls Parallel uses: coverallsapp/github-action@v2