Skip to content

Commit

Permalink
Fix litmus and acceptance tests in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vascoguita committed Jan 27, 2023
1 parent dfa2a56 commit f655002
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
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

0 comments on commit f655002

Please sign in to comment.