name: 'Pytest' on: pull_request: branches: - '*' jobs: pytest: name: 'Terraform' runs-on: ubuntu-latest strategy: matrix: python-version: ["3.12"] # Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest defaults: run: shell: bash # Checkout the repository to the GitHub Actions runner steps: - name: Checkout uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.12' - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt pip install pytest==8.2.2 pytest tests/watcher_test.py