Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI setup #116

Merged
merged 2 commits into from
Nov 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Docker Compose Actions Workflow
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
# need checkout before using compose-action
- uses: actions/checkout@v3
- name: Create folders
run: |
mkdir -p var/{log,screenshots,mail,sms,gcm,downloads}
chmod -R a+rwX var
- uses: isbang/[email protected]
- name: Test
run: |
docker-compose exec -T behaving behave tests/features
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog
3.0.7 -
-------------------

- Github CI setup.
[oyvinev, ggozad]

- Skip tests that cannot run in a remote environment.
[ggozad]

Expand Down
2 changes: 1 addition & 1 deletion tests/features/mouse.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Feature: Mouse interactions
And I mouse over the element with xpath "//span[@id='mouse-interaction']"
Then I should see "Over"
When I mouse out of the element with xpath "//span[@id='mouse-interaction']"
Then I should see "and out" within 3 seconds
Then I should see "and out" within 5 seconds