diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 903a23624..e4fb49858 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -192,26 +192,12 @@ jobs: - "3.12" runs-on: ${{ matrix.os }} steps: - - name: Checkout ramen - uses: actions/checkout@v4 - - name: Checkout lima uses: actions/checkout@v4 with: repository: lima-vm/lima path: lima - - name: Checkout socket_vmnet - uses: actions/checkout@v4 - with: - repository: lima-vm/socket_vmnet - path: socket_vmnet - - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - name: Setup go for lima uses: actions/setup-go@v5 with: @@ -220,54 +206,15 @@ jobs: - name: Install lima run: | cd lima - - # Miniaml build is 3 times faster than full make.. - make minimal - - # But it adds only the default template, so lets fix it: - rm -rf _output/share/lima/templates - cp -aL examples _output/share/lima/templates - ln -sf templates _output/share/lima/examples - - # And install + make sudo make install limactl --version - - name: Install socket_vmnet - run: | - cd socket_vmnet - make - sudo make install.bin - sudo make install.launchd - /opt/socket_vmnet/bin/socket_vmnet --version - - name: Install Homebrew packages - run: brew install qemu kubectl - - - name: Install python packages - run: pip install -r requirements.txt - - - name: Enable coverage for child processes - run: cp coverage.pth $(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])') - - - name: Install drenv - run: pip install -e test - - - name: Run flake8 - run: make flake8 - working-directory: test - - - name: Run pylint - run: make pylint - working-directory: test - - - name: Run black - run: make black - working-directory: test + run: brew install kubectl bash coreutils jq - name: Start lima vm - run: limactl start --tty=false --vm-type qemu --cpus 2 --memory 2 --plain template://default - working-directory: test + run: limactl start --tty=false --vm-type vz --cpus 2 --memory 2 --plain --log-level debug template://default - name: Show logs on error if: failure()