diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index ad010c5..136e731 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -10,21 +10,30 @@ on: jobs: - build: + test: # I am only testing with py310 but travis is Testing the other versions of Python runs-on: ubuntu-latest + strategy: + matrix: + python-version: [ '3.8', '3.9', '3.10', '3.11' ] + platform: [ubuntu-latest, macos-latest, windows-latest] + steps: - uses: actions/checkout@v3 - - name: Setup Python + - name: Setup Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: ${{ matrix.python-version }} - name: Install Tox and any other packages - run: pip install "tox<4" + run: | + python -m pip install --upgrade pip + python -m pip install "tox<4" tox-gh-actions - name: Run Tox run: | - tox -e py310 + tox + env: + PLATFORM: ${{ matrix.platform }} deploy: