Skip to content

Commit

Permalink
Moving to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gnat committed Jun 27, 2023
1 parent 07c9b68 commit 49db467
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [8.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: ubuntu-latest
uses: actions/setup-php@v3
uses: php-actions/composer@v6 # or alternative dependency management
uses: php-actions/phpunit@v3
#- wget http://getcomposer.org/composer.phar
#- php composer.phar install
- run: phpunit --bootstrap ./vendor/autoload.php ./tests/*
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

0 comments on commit 49db467

Please sign in to comment.