storage: optimize VDI export/import tests to limit data writes #1934
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: Static code checkers | |
| on: [push] | |
| permissions: {} | |
| jobs: | |
| mypy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/uv-setup | |
| - name: Create a dummy data.py | |
| run: cp data.py-dist data.py | |
| - name: Create a dummy vm_data.py | |
| run: cp vm_data.py-dist vm_data.py | |
| - run: mypy --install-types --non-interactive . | |
| pyright: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/uv-setup/ | |
| - name: Create a dummy data.py | |
| run: cp data.py-dist data.py | |
| - name: Create a dummy vm_data.py | |
| run: cp vm_data.py-dist vm_data.py | |
| - run: pyright . | |
| ruff: | |
| runs-on: ubuntu-latest | |
| env: | |
| FORCE_COLOR: "1" | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/uv-setup/ | |
| - name: Create a dummy data.py | |
| run: cp data.py-dist data.py | |
| - run: ruff check | |
| flake8: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/uv-setup/ | |
| - run: flake8 |