Adjusted mock logic for systemctl #80
This file contains 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: test | |
on: | |
pull_request: | |
paths-ignore: | |
- "README.md" | |
- "LICENSE.md" | |
- ".github/**" | |
branches: | |
- "*" | |
push: | |
paths-ignore: | |
- "README.md" | |
- "LICENSE.md" | |
- ".github/**" | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Update and install dependencies | |
shell: bash | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
sudo apt update | |
sudo -E apt install -y --no-install-recommends curl ca-certificates software-properties-common | |
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - | |
sudo -E apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | |
sudo apt update -qq | |
sudo -E apt install --no-install-recommends vagrant | |
- name: Test | |
shell: bash | |
run: | | |
vagrant up |