Added PDP Tester to CI/CD #110
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PDP Sanity Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: [master, main, v*] | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v3 | |
| - uses: pre-commit/[email protected] | |
| pytests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Python setup | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11.8' | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Run Pytests | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install ".[dev]" | |
| pytest -s --cache-clear horizon/tests/ |