Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: CI/CD

on:
push:
Expand Down Expand Up @@ -62,6 +62,9 @@ jobs:
php-version: ${{ matrix.php }}
- name: run unit tests
run: |
# Ensure that we have PCOV installed
pecl install pcov && echo "extension=pcov.so" >> php.ini

# create folder for coverage
mkdir -p build/logs

Expand All @@ -71,10 +74,10 @@ jobs:
# create a lock file
composer install

composer run-script test
# it is enough to upload the coverage once
# Run the coveralls
./vendor/bin/phpunit --coverage-clover=build/logs/clover.xml
- name: upload coverage
if: matrix.php == '7.1'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: php vendor/bin/php-coveralls --exclude-no-stmt --coverage_clover=build/logs/clover.xml -v
run: ./ci/run_coverage.sh
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2013-2025 Filis Futsarov, Sean Nieuwoudt
Copyright (c) 2013-2025 Sean Nieuwoudt

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
Loading