Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Merge 2314380 into 46c1e60
Browse files Browse the repository at this point in the history
  • Loading branch information
gearsdigital committed Jul 28, 2020
2 parents 46c1e60 + 2314380 commit 887ad9b
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,34 @@
name: Unit Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC

jobs:
test:
runs-on: ubuntu-latest
name: Tests
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
tools: composer

- name: Install
run: composer install

# update kirby to latest release of version 3 (includes release candidates!)
# https://semver.mwl.be/#!?package=getkirby%2Fcms&version=3.*&minimum-stability=RC
- name: Update Kirby Core
run: composer require getkirby/cms:"3.*@RC"

- name: Run Tests
run: composer test

0 comments on commit 887ad9b

Please sign in to comment.