Start-Out/todo-or-not

Improve test suite with matrices

Aberta

#379 aberto em 16 de set. de 2024

 (0 comentário) (0 reação) (0 responsável)Python (5 forks)auto 404
devopsenhancementhelp wantedtesting

Métricas do repositório

Stars
 (5 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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:
## ... ##

Guia do colaborador