Skip to content

Allow ['ANY'] to be treated as ANY #23

Allow ['ANY'] to be treated as ANY

Allow ['ANY'] to be treated as ANY #23

Workflow file for this run

name: codacy-coverage-reporter
on: ["push"]
jobs:
codacy-coverage-reporter:
runs-on: ubuntu-latest
name: codacy-coverage-reporter
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest coverage
if [ -f requirements.txt ]; then
sed -i 's/>=/==/g' requirements.txt
pip install -r requirements.txt
fi
- name: List installed packages
run: python -m pip list installed
- name: Test with pytest
run: |
coverage run -m pytest
coverage xml
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
# or
# api-token: ${{ secrets.CODACY_API_TOKEN }}
coverage-reports: coverage.xml