Skip to content

Commit bcfee46

Browse files
authored
update dependencies (#922)
* update image to 22.04 * update dependencies * use Behat from friends-of-behat * remove use of goutte
1 parent 792a711 commit bcfee46

File tree

7 files changed

+1007
-1169
lines changed

7 files changed

+1007
-1169
lines changed

.github/workflows/build-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
test:
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-22.04
1111
continue-on-error: ${{ matrix.experimental }}
1212

1313
strategy:
@@ -66,7 +66,7 @@ jobs:
6666
run: |
6767
cd $GITHUB_WORKSPACE
6868
cd public_html/lists
69-
wget https://github.com/phpList/base-distribution/archive/phplist3.zip
69+
wget https://github.com/phpList/base-distribution/archive/refs/heads/phplist3.zip
7070
unzip phplist3.zip
7171
rm phplist3.zip
7272
mv base-distribution-phplist3 base

.github/workflows/main.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ jobs:
5252
php_extensions: xml
5353
version: 2
5454

55+
- name: Report Versions
56+
run: |
57+
google-chrome --version
58+
lsb_release -a
59+
php -v
60+
chromedriver -v
61+
geckodriver -V
62+
which geckodriver
63+
which chromedriver
64+
firefox -v
65+
vendor/bin/behat -V
66+
mysql --version
67+
mysqladmin --version
68+
5569
- name: Create Database
5670
run: |
5771
sudo systemctl start mysql.service
@@ -84,17 +98,6 @@ jobs:
8498
with:
8599
path: ./public_html
86100

87-
- name: Report Versions
88-
run: |
89-
google-chrome --version
90-
php -v
91-
chromedriver -v
92-
geckodriver -V
93-
which geckodriver
94-
which chromedriver
95-
firefox -v
96-
vendor/bin/behat -V
97-
98101
- name: Run BDD Tests UI
99102
run: |
100103
cd $GITHUB_WORKSPACE/tests

composer.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,11 @@
126126
"phplist/phplist-plugin-subjectlineplaceholders": "dev-master"
127127
},
128128
"require-dev": {
129-
"behat/mink": "@stable",
130-
"behat/mink-goutte-driver": "@stable",
131-
"behat/mink-selenium2-driver": "^1.3",
132-
"behat/behat": "3.5.0",
133-
"behat/mink-extension": "^2.2",
134-
"fabpot/goutte": "@stable",
135-
"symfony/config": "3.0",
129+
"behat/behat": "@stable",
130+
"behat/mink-selenium2-driver": "@stable",
131+
"friends-of-behat/mink": "@stable",
132+
"friends-of-behat/mink-extension": "^2.7",
133+
"symfony/config": "@stable",
136134
"se/selenium-server-standalone": "^2.52",
137135
"bex/behat-screenshot": "^1.2",
138136
"zbateson/mail-mime-parser": "^1.1",

0 commit comments

Comments
 (0)