diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 4050517..c340e1f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -32,9 +32,10 @@ jobs: test: needs: lint - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: + os: [ubuntu-latest, windows-latest, macos-latest] python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 @@ -48,6 +49,7 @@ jobs: - name: Configure Poetry run: poetry config virtualenvs.in-project true + shell: bash - name: Cache dependencies uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 @@ -59,9 +61,11 @@ jobs: - name: Install dependencies run: poetry install --no-interaction --no-root + shell: bash - name: Run tests run: poetry run pytest + shell: bash - name: Upload coverage to Codecov uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7