diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index a719492..0591522 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -1,22 +1,21 @@ +name: Pytest + on: [push] jobs: - test: + build: + runs-on: ubuntu-latest - name: Run Pytest + strategy: + matrix: + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: - - 3.8 - - 3.9 - - 3.10 - - 3.11 + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} - name: Install dependencies run: |