Start-Out/todo-or-not

Improve test suite with matrices

Aperta

#379 aperta il 16 set 2024

 (0 commenti) (0 reazioni) (0 assegnatari)Python (5 fork)auto 404
devopsenhancementhelp wantedtesting

Metriche repository

Star
 (5 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Use matrices to test multiple versions of python, and multiple operating systems

Reference:

## ... ##
jobs:
  test_suite:
    name: Run test suite steps
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
    environment: testing
    steps:
      - uses: actions/checkout@v3
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v3
        with:
## ... ##

Guida contributor