Skip to content

Commit c6fc395

Browse files
authored
Add test for etherpad 1.7.0 (#80)
* Add test for etherpad 1.4.1 * Update test to use version 1.5.0 * Update test to use version 1.6.6 * try version 1.7.0 * Update assertion
1 parent 0db8174 commit c6fc395

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/e2e-test.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,54 @@ jobs:
177177
contains: "Package version: 1.9.7"
178178
expected_result: PASSED
179179

180+
Etherpad17:
181+
name: Source [1.7.0]
182+
runs-on: ubuntu-latest
183+
steps:
184+
- name: Clone etherpad repository
185+
uses: actions/checkout@v4
186+
with:
187+
repository: ether/etherpad-lite
188+
path: etherpad
189+
ref: 1.7.0
190+
- uses: actions/setup-node@v4
191+
with:
192+
node-version: "8.9"
193+
- uses: JarvusInnovations/background-action@v1
194+
name: Start etherpad service
195+
with:
196+
run: bin/run.sh &
197+
wait-on: |
198+
http://localhost:9001
199+
log-output-if: failure
200+
wait-for: 5m
201+
working-directory: etherpad
202+
203+
- name: Checkout repository
204+
uses: actions/checkout@v4
205+
with:
206+
path: app
207+
208+
- name: Cache Composer packages
209+
id: composer-cache
210+
uses: actions/cache@v4
211+
with:
212+
path: vendor
213+
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
214+
restore-keys: |
215+
${{ runner.os }}-php-
216+
217+
- name: Install dependencies
218+
run: composer install --prefer-dist --no-progress
219+
working-directory: ./app
220+
221+
- name: Scan etherpad instance
222+
uses: GuillaumeFalourd/[email protected]
223+
with:
224+
command_line: app/bin/console.php ether:scan http://localhost:9001
225+
contains: "Package version: 1.7.0"
226+
expected_result: PASSED
227+
180228
EtherpadWithPlugins:
181229
name: Source [develop] with plugins
182230
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)