Skip to content

Commit

Permalink
Merge pull request #104 from ltb-project/phpunit
Browse files Browse the repository at this point in the history
Enable phpunit in CI
  • Loading branch information
coudot authored Sep 15, 2023
2 parents 871d767 + e4d6249 commit d7ec21b
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 1,745 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on: [push]

jobs:
build-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
with:
php_version: "7.4"
php_extensions: ldap
- name: PHPUnit Tests for php7.4
uses: php-actions/phpunit@v3
with:
configuration: tests/phpunit.xml
version: 5.7.25
php_version: 7.4
args: --coverage-text
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"require": {
"ltb-project/ldap": "v0.1.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5"
}
}
Loading

0 comments on commit d7ec21b

Please sign in to comment.