Enhance VM updater to delete existing archive before downloading from S3 #154
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: PyTests | |
| on: | |
| - pull_request | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| POETRY_VIRTUALENVS_CREATE: false | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.11 | |
| - name: Install UV | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| - name: Set PYTHONPATH | |
| run: echo "PYTHONPATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV | |
| - name: Run tests | |
| run: | | |
| uv run pytest ./tests/unit |