Skip to content

Issue #197: Create box.json #385

Issue #197: Create box.json

Issue #197: Create box.json #385

Workflow file for this run

on:
# Trigger on push or pull request events, but only for the 1.x-1.x branch.
push:
branches: [ 1.x-1.x, issue-111-update-command ]
pull_request:
branches: [ 1.x-1.x, issue-111-update-command ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
# Checks-out repo under $GITHUB_WORKSPACE.
- uses: actions/checkout@v3
# Installs and starts Lando.
- name: Lando
run: |
# For downloading latest DEB file, see: https://gist.github.com/gvenzl/1386755861fb42db492276d3864a378c
curl -Lo lando.deb $(curl -s https://api.github.com/repos/lando/lando/releases/latest | grep deb | grep https | awk '{ print $2 }' | sed 's/"//g')
sudo dpkg -i --ignore-depends=docker-ce lando.deb
cd $GITHUB_WORKSPACE
lando start
# Runs PHPUnit tests.
- name: PHPUnit
run: |
cd $GITHUB_WORKSPACE
lando run-tests