Skip to content

Commit 9aecdf4

Browse files
Merge pull request #953 from SuffolkLITLab/BryceStevenWilley-patch-1
Use GitHub-Server ALKiln instead of apps-test
2 parents 7adcd4f + b53310f commit 9aecdf4

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

.github/workflows/alkiln_tests.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
description: 'Optional. Use a "tag expression" specify which tagged tests to run. See https://cucumber.io/docs/cucumber/api/#tag-expressions for syntax.'
99
default: ''
1010
required: false
11+
show_docker_output:
12+
required: false
13+
default: false
14+
type: boolean
15+
description: 'Show the docker logs while building the GitHub server container. It will also save the docker log artifact. This might show sensitive config information.'
1116
# To run your tests on a schedule, delete the first "#" symbol at the beginning of each line below.
1217
## Also see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
1318
## Also see https://crontab.guru/examples.html
@@ -20,12 +25,22 @@ jobs:
2025
name: Run end-to-end tests
2126
steps:
2227
- uses: actions/checkout@v3
23-
- name: Use ALKiln to run end-to-end tests
28+
- name: "ALKiln - Start the isolated temporary docassemble server on GitHub"
29+
id: github_server
30+
uses: suffolkLITLab/ALKiln/action_for_github_server@v5
31+
with:
32+
SHOW_DOCKER_OUTPUT: "${{ github.event.inputs.show_docker_output }}"
33+
- run: echo "ALKiln finished starting the isolated GitHub docassemble server"
34+
- name: Use ALKiln to run tests
2435
uses: SuffolkLITLab/ALKiln@v5
36+
env:
37+
ALKILN_TAG_EXPRESSION: "${{ (github.event.inputs.tags && format('{0}', github.event.inputs.tags)) }}"
2538
with:
26-
SERVER_URL: "${{ secrets.SERVER_URL }}"
27-
DOCASSEMBLE_DEVELOPER_API_KEY: "${{ secrets.DOCASSEMBLE_DEVELOPER_API_KEY }}"
28-
SERVER_RELOAD_TIMEOUT_SECONDS: 120
39+
SERVER_URL: "${{ steps.github_server.outputs.SERVER_URL }}"
40+
DOCASSEMBLE_DEVELOPER_API_KEY: "${{ steps.github_server.outputs.DOCASSEMBLE_DEVELOPER_API_KEY }}"
41+
INSTALL_METHOD: "server"
42+
# To learn more, see https://assemblyline.suffolklitlab.org/docs/alkiln/writing/#optional-inputs
43+
ALKILN_TAG_EXPRESSION: "${{ env.ALKILN_TAG_EXPRESSION }}"
2944
- run: echo "Finished running ALKiln end-to-end tests"
3045

3146
## To make a new issue in your repository when a test fails,

docassemble/ALWeaver/data/sources/test_1.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Notes:
99
Scenario: I weave the civil docketing statement
1010
Given the max seconds for each Step is 90
1111
And I start the interview at "assembly_line.yml"
12+
Then I wait for 4 seconds
1213
Then I tap the "#upload" element and wait 5 seconds
1314
And I get to the question id "download-your-interview" with this data:
1415
| var | value | trigger |

0 commit comments

Comments
 (0)