Lock file maintenance in tectonic/terraform/modules/gsi-lab-libvirt/versions.tf #1859
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: Regression Tests | |
| on: [push, pull_request] | |
| jobs: | |
| regression: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| python-version: ['3.12', '3.13', '3.14'] | |
| steps: | |
| - name: "Checkout repo" | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - name: Set up Python 3 | |
| uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: 'pip' | |
| - name: Install poetry | |
| uses: abatilo/actions-poetry@0dd19c9498c3dc8728967849d0d2eae428a8a3d8 # v4 | |
| with: | |
| poetry-version: '1.8.3' | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get -qq update | |
| sudo apt-get install -qq -y libvirt0 libvirt-dev | |
| - name: Create ssh key | |
| run: | | |
| ssh-keygen -t rsa -C "test@example.com" -q -N "" -f ~/.ssh/id_rsa | |
| - name: Test with pytest | |
| run: | | |
| poetry lock | |
| poetry install | |
| poetry run pytest -vs | |