fix: recovery after agent kill and rejoin #801
Workflow file for this run
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: Run Pytest on PR | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - '**.py' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # step 1: checkout code | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| # step 2: setup python env | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| # step 3: install package | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install . | |
| pip install pytest | |
| # step 4: run tests | |
| - name: Run tests with pytest | |
| run: | | |
| pytest --maxfail=1 |