File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 6666 - php -S localhost:8000 >/dev/null 2>&1 &
6767 - cd ..
6868 - sleep 10 # Wait for behat to start
69+ - touch errorbackend.html
6970 - php moodle/admin/tool/behat/cli/run.php --tags="@block_evasys_sync"
7071
72+ deploy :
73+ provider : releases
74+ api_key : $GITHUB_TOKEN
75+ file : " errorbackend.html"
76+ skip_cleanup : true
77+
7178# Default 'test' stage: Unit tests and behat tests against full matrix.
7279script :
7380 - moodle-plugin-ci phpunit --coverage-clover
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class behat_block_evasys_sync extends behat_base {
4747 private $ generator ;
4848 public static $ coursedata = array ();
4949 public static $ evalsfkeyassoc = array ();
50- public const ERRORSAVEPATH = " /var/www/public/moodle /errorbackend.html " ;
50+ public const ERRORSAVEPATH = __DIR__ . " /../../../../.. /errorbackend.html " ;
5151
5252 /**
5353 * Store Page content on failure
You can’t perform that action at this time.
0 commit comments