@@ -60,17 +60,17 @@ jobs:
6060 mv phplist-ui-bootlist-master phplist-ui-bootlist
6161 rm master.tar.gz
6262
63- - name : Start Test Server
64- run : |
65- cd $GITHUB_WORKSPACE
66- cp -fv tests/ci/behat.yml tests/behat.yml
67- cp -fv tests/ci/config.php public_html/lists/config/config.php
68- mkdir -p output/screenshots
69- touch output/screenshots/README.md
70- mkdir -p build/mails
71- ./bin/start-selenium > output/selenium.log 2>&1 &
72- sleep 5
73- sudo php -S 0.0.0.0:80 -t public_html > /dev/null 2>&1 &
63+ # - name: Start Test Server
64+ # run: |
65+ # cd $GITHUB_WORKSPACE
66+ # cp -fv tests/ci/behat.yml tests/behat.yml
67+ # cp -fv tests/ci/config.php public_html/lists/config/config.php
68+ # mkdir -p output/screenshots
69+ # touch output/screenshots/README.md
70+ # mkdir -p build/mails
71+ # ./bin/start-selenium > output/selenium.log 2>&1 &
72+ # sleep 5
73+ # sudo php -S 0.0.0.0:80 -t public_html > /dev/null 2>&1 &
7474
7575 - name : Check PHP syntax errors
7676@@ -88,36 +88,36 @@ jobs:
8888 firefox -v
8989 vendor/bin/behat -V
9090
91- - name : Run BDD Tests UI
92- run : |
93- cd $GITHUB_WORKSPACE/tests
94- ../vendor/bin/behat -p chrome -f progress --stop-on-failure --tags=@initialise
95- ../vendor/bin/behat -p chrome -f progress --tags="~@initialise && ~@wip"
96-
97- - name : Run BDD Tests CLI
98- run : |
99- cd $GITHUB_WORKSPACE
100- 101- export ADMIN_PASSWORD=Mypassword123+
102- export ORGANISATION_NAME="phpList"
103- export ADMIN_NAME="phpList Administrator"
104- php public_html/lists/admin/index.php -c $GITHUB_WORKSPACE/public_html/lists/config/config.php -p initialise -f
105- cd $GITHUB_WORKSPACE/tests
106- ../vendor/bin/behat -p chrome --tags="~@initialise && ~@wip"
107-
108- - name : Upload the screenshots
109- if : always()
110- uses : actions/upload-artifact@v2
111- with :
112- path : " output"
113- name : " behat output"
114- retention-days : 3
115-
116- - name : Display output
117- run : |
118- cd $GITHUB_WORKSPACE
119- # find . -type f
120- # cat output/selenium.log
121- if : ${{ failure() }}
91+ # - name: Run BDD Tests UI
92+ # run: |
93+ # cd $GITHUB_WORKSPACE/tests
94+ # ../vendor/bin/behat -p chrome -f progress --stop-on-failure --tags=@initialise
95+ # ../vendor/bin/behat -p chrome -f progress --tags="~@initialise && ~@wip"
96+
97+ # - name: Run BDD Tests CLI
98+ # run: |
99+ # cd $GITHUB_WORKSPACE
100+ 101+ # export ADMIN_PASSWORD=Mypassword123+
102+ # export ORGANISATION_NAME="phpList"
103+ # export ADMIN_NAME="phpList Administrator"
104+ # php public_html/lists/admin/index.php -c $GITHUB_WORKSPACE/public_html/lists/config/config.php -p initialise -f
105+ # cd $GITHUB_WORKSPACE/tests
106+ # ../vendor/bin/behat -p chrome --tags="~@initialise && ~@wip"
107+
108+ # - name: Upload the screenshots
109+ # if: always()
110+ # uses: actions/upload-artifact@v2
111+ # with:
112+ # path: "output"
113+ # name: "behat output"
114+ # retention-days: 3
115+
116+ # - name: Display output
117+ # run: |
118+ # cd $GITHUB_WORKSPACE
119+ # # find . -type f
120+ # # cat output/selenium.log
121+ # if: ${{ failure() }}
122122
123123
0 commit comments