Skip to content

Commit

Permalink
docs; more testing
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Oct 19, 2022
1 parent b416cba commit 63e7093
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
# coverage: none
-
run: |
# @todo we should check out a specific tag/branch for stability, or at last the latest tag...
git clone --depth 1 https://github.com/tanoconsulting/euts.git teststack
# just in case...
chmod 755 ./teststack/bin/*.sh ./teststack/bin/setup/*.sh
Expand All @@ -90,7 +91,7 @@ jobs:
# with:
# path: /tmp/composer-cache
# key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
# This sets up php and starts mysql
# This sets up php and configures plus starts mysql
-
run: './teststack/bin/setup.sh'
env:
Expand All @@ -111,7 +112,6 @@ jobs:
#php -i
#ps auxwww
#dpkg --list | grep php
#ps auxwww | grep fpm
#pwd
#sudo env
#ls -ltr /var/log
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,4 @@ You can even keep multiple test stacks available in parallel, by using different

[![Build Status](https://github.com/kaliop-uk/ezworkflowenginebundle/actions/workflows/ci.yml/badge.svg)](https://github.com/kaliop-uk/ezmigrationbundle/actions/workflows/ci.yml)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/kaliop-uk/ezworkflowenginebundle/badges/quality-score.png?b=main)](https://scrutinizer-ci.com/g/kaliop-uk/ezworkflowenginebundle/?branch=main)
[![Code Coverage](https://codecov.io/gh/kaliop-uk/ezworkflowenginebundle/branch/main/graph/badge.svg)](https://codecov.io/gh/kaliop-uk/ezworkflowenginebundle)
[![Code Coverage](https://codecov.io/gh/kaliop-uk/ezworkflowenginebundle/branch/main/graph/badge.svg)](https://codecov.io/gh/kaliop-uk/ezworkflowenginebundle/tree/main)
3 changes: 3 additions & 0 deletions Tests/phpunit/03_RunTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ public function testWorkflowExecution($dir)
// check that the workflow was executed
$out = $this->runCommand('kaliop:workflows:status');
$this->assertRegExp('?\| .+' . $this->prefix.'_'.$num.'_workflow.yml' . ' +\|.+\| executed +\|?', $out);
preg_match('?\| ([^|]+' . $this->prefix.'_'.$num.'_workflow.yml)' . ' +\|?', $out, $matches);
$out = $this->runCommand('kaliop:workflows:workflow', array('--info' => true, 'workflow' => $matches[1]));
$this->assertRegExp('?Status: executed?', $out);
}

public function provideFolderList()
Expand Down
2 changes: 1 addition & 1 deletion WHATSNEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Version 2.0 (unreleased)

* Move from `master` to `main` branch

* Move from Travis to GitHub Actions for CI testing
* Move from Travis to GitHub Actions for CI testing. Add some proper tests!

* Bump the version of phpunit used to run the tests from 4.x/5.x to 5.x/8.x

Expand Down

0 comments on commit 63e7093

Please sign in to comment.