Skip to content

Commit

Permalink
Try gitlab actions
Browse files Browse the repository at this point in the history
  • Loading branch information
andypost committed Aug 31, 2019
1 parent 2f2271c commit 1bdd970
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/drupal-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v1

- name: Info
run: |
pwd
ls -lah
php -v
php -m
composer -vvv -V
composer install -o --profile
- name: Build
uses: docker://skilldlabs/php:73
with:
args: sh -c "composer install -o && vendor/bin/drupal-check -ad -vv -n web/modules/custom"
# - name: Run a one-line script
# uses: skilldlabs/php:73
# with:
# args: composer -vvv -V
# composer install -o
# vendor/bin/drupal-check -ad -vv -n web/modules/custom
- name: Run a multi-line script
run: |
ls -la
ls -lah vendor/bin

0 comments on commit 1bdd970

Please sign in to comment.