Skip to content

Commit

Permalink
Move travis phpunit to github actions
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Feb 3, 2020
1 parent 1fc41da commit 303803a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 65 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: PHPUnit

on:
pull_request:
push:
branches:
- master
- stable*

jobs:
php:
runs-on: ubuntu-latest

strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4']
server-versions: ['master']

name: php${{ matrix.php-versions }} on ${{ matrix.server-versions }}
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
path: server
- name: Checkout current
uses: actions/checkout@v2
with:
path: apps/notestutorial
- name: Set up php${{ matrix.php-versions }}
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
coverage: none
- name: Install dependencies
run: composer install
- name: List directories
run: |
pwd
ls -la
65 changes: 0 additions & 65 deletions .travis.yml

This file was deleted.

0 comments on commit 303803a

Please sign in to comment.