From 3cabb8fe7b22c13219fe4b82ca63e64dc044dbd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20M=C3=BCller?= Date: Sat, 30 Dec 2023 23:06:19 +0100 Subject: [PATCH] ci: reduce vagrant system requirements --- .github/workflows/check.yml | 2 +- Vagrantfile | 18 ++++++------------ 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a21f557..8dc1dce 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -9,7 +9,7 @@ concurrency: general_workflow jobs: checks: - runs-on: macos-latest + runs-on: macos-12 steps: - uses: actions/checkout@v3 - name: Set up Python 3.8 diff --git a/Vagrantfile b/Vagrantfile index a572580..75c055e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -51,18 +51,12 @@ Vagrant.configure("2") do |config| owner: "www-data" # Provider-specific configuration so you can fine-tune various # backing providers for Vagrant. These expose provider-specific options. - # Example for VirtualBox: - # - # config.vm.provider "virtualbox" do |vb| - # # Display the VirtualBox GUI when booting the machine - # vb.gui = true - # - # # Customize the amount of memory on the VM: - # vb.memory = "1024" - # end - # - # View the documentation for the provider you are using for more - # information on available options. + # Reduce requirements so everythin runs on GitHub Actions + config.vm.provider "virtualbox" do |v| + v.memory = 1024 + v.cpus = 1 + end + # Enable provisioning with a shell script. Additional provisioners such as # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the