diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index de61e29..3306833 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -225,7 +225,7 @@ jobs: if: ${{ runner.python-version }} != "3.9" run: make -f Makefile test-pytest ; - name: Upload Python ${{ matrix.python-version }} coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml @@ -235,7 +235,7 @@ jobs: verbose: true fail_ci_if_error: false - name: Upload Python ${{ matrix.python-version }} Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Test-Report-${{ matrix.os }}-${{ matrix.python-version }} path: ./test-reports/ @@ -309,7 +309,7 @@ jobs: if: ${{ runner.python-version }} != "3.9" run: make -f Makefile test-pytest ; - name: Upload Python ${{ matrix.python-version }} coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml @@ -319,7 +319,8 @@ jobs: verbose: true fail_ci_if_error: false - name: Upload Python ${{ matrix.python-version }} Artifact - uses: actions/upload-artifact@v3 + if: ${{ runner.python-version }} != "3.11" + uses: actions/upload-artifact@v4 with: name: Test-Report-${{ matrix.os }}-${{ matrix.python-version }} path: ./test-reports/ @@ -430,7 +431,7 @@ jobs: cp -vf ./coverage.xml ./test-reports/coverage.xml || true ; shell: bash - name: Upload Python ${{ matrix.python-version }} coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./test-reports/coverage_supplement.xml @@ -440,7 +441,7 @@ jobs: verbose: true fail_ci_if_error: false - name: Upload Extra Python ${{ matrix.python-version }} Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Integration-Test-Report-${{ matrix.os }}-${{ matrix.python-version }} path: ./test-reports/ diff --git a/pythonrepo/__init__.py b/pythonrepo/__init__.py index 2e52aac..30f5295 100644 --- a/pythonrepo/__init__.py +++ b/pythonrepo/__init__.py @@ -1,3 +1,4 @@ +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Python Repo Template diff --git a/pythonrepo/pythonrepo.py b/pythonrepo/pythonrepo.py index 4424085..12a94cc 100644 --- a/pythonrepo/pythonrepo.py +++ b/pythonrepo/pythonrepo.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Python Repo Template @@ -65,7 +65,7 @@ def NoOp(*args, **kwargs): # More boiler-plate-code -TASK_OPTIONS = dict({ +TASK_OPTIONS = dict({ # skipcq: PTC-W0020 'noop': NoOp }) """The callable function tasks of this program."""