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

Fix litmus and acceptance tests in GitHub Actions #3633

Merged
merged 1 commit into from
Jan 27, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog/unreleased/fix-tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Bugfix: Fix litmus and acceptance tests in GitHub Actions

https://github.com/cs3org/reva/pull/3633
7 changes: 5 additions & 2 deletions tests/docker-compose/acceptance-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ services:
acceptance-1:
image: cs3org/behat:latest
environment:
PATH_TO_CORE: /mnt/ocis
PATH_TO_APITESTS: /mnt/ocis
TEST_SERVER_URL: http://frontend:20180
OCIS_REVA_DATA_ROOT: /var/tmp/reva/data/
Expand All @@ -50,7 +49,11 @@ services:
REGULAR_USER_PASSWORD: relativity
SEND_SCENARIO_LINE_REFERENCES: 'true'
BEHAT_SUITE: apiVirtualViews
command: /mnt/ocis/tests/acceptance/run.sh --type api
command:
- -c
- |
sleep 5
/mnt/ocis/tests/acceptance/run.sh --type api
volumes:
- shared-volume:/var/tmp
- ./tests/testing:/mnt/testing
Expand Down
11 changes: 10 additions & 1 deletion tests/docker-compose/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@ services:
working_dir: /etc/revad/
litmus:
image: registry.cern.ch/docker.io/owncloud/litmus:latest
entrypoint:
- /bin/sh
command:
- -c
- |
sleep 5
/usr/local/bin/litmus-wrapper
environment:
LITMUS_USERNAME: einstein
LITMUS_PASSWORD: relativity
TESTS: basic http copymove props
TESTS: basic http copymove props
LITMUS_WAIT: 'true'
LITMUS_CHECK_URL: http://frontend:20080/ocs/v2.php/cloud/capabilities