diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 4e2daba..fa8de3e 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7" ,"3.8", "3.9", "3.10", "3.11"] + python-version: ["3.6", "3.7" ,"3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 @@ -27,8 +27,12 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install flake8 pytest + python -m pip install flake8 pytest coverage if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: | pytest + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }}