Versions should be str, not float.

This commit is contained in:
Josh W 2024-09-03 14:56:29 -04:00
parent 856f522996
commit e696d8568a

View file

@ -16,7 +16,7 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
python-version: [3.8, 3.9, 3.10, 3.11, 3.12] python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
@ -46,8 +46,8 @@ jobs:
- name: Upload coverage to Codecov.io - name: Upload coverage to Codecov.io
run: | run: |
bash <(curl -s https://codecov.io/bash) bash <(curl -s https://codecov.io/bash)
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' }} if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == "3.12" }}
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
path: coverage.xml path: coverage.xml
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' }} if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == "3.12" }}