Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 683ad58

Browse files
ruddellclaude
andcommitted
Replace Travis CI with GitHub Actions
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
1 parent a534e3f commit 683ad58

2 files changed

Lines changed: 30 additions & 17 deletions

File tree

.github/workflows/tests.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
php: ['7.2', '7.3']
12+
13+
name: PHP ${{ matrix.php }}
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Setup PHP
19+
uses: shivammathur/setup-php@v2
20+
with:
21+
php-version: ${{ matrix.php }}
22+
23+
- name: Install dependencies
24+
run: composer install --no-interaction
25+
26+
- name: Run tests
27+
run: vendor/bin/phpunit
28+
29+
- name: Run Psalm
30+
run: vendor/bin/psalm

.travis.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)