update:main.yml codecove hook
@@ -86,8 +86,6 @@ jobs:
flake8 --version
flake8 elastica tests
fi
- - name: Upload coverage reports to Codecov with GitHub Action
- uses: codecov/codecov-action@v3
# Set environment variables for coverage test. Coverage test is done using python 3.6
# For the coverage test we disable numba jit compilation, since it prevents generating coverage data.
@@ -103,7 +101,8 @@ jobs:
run: |
if [[ "${{ matrix.python-version }}" == "3.6" ]]; then
python3 -m pytest --cov=elastica --cov-report=xml
- codecov
+ codecov/codecov-action@v3
else
python3 -m pytest
fi
+
