Skip to content

Commit e5ff997

Browse files
committed
chore: add github workflow
1 parent 046dc25 commit e5ff997

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)