Skip to content

Commit

Permalink
WIP: Setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvinev committed Sep 16, 2022
1 parent 8ebafd1 commit 744e2bf
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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: |
pwd
mkdir -p var/{log,screenshots,mail,sms,gcm,downloads}
chmod -R a+rwX var
ls -la
- uses: isbang/[email protected]
- name: Test
run: |
pwd
ls -la
docker-compose logs behaving
docker-compose ps
docker-compose exec -T behaving echo "Hello from behaving"
docker-compose exec -T behaving behave tests/features
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3"
version: "3.8"
networks:
behaving:
name: behaving
Expand Down Expand Up @@ -56,6 +56,7 @@ services:
user: behaving
container_name: behaving
stdin_open: true
user: ${BEHAVING_USER:-behaving}
depends_on:
- selenoid
volumes:
Expand Down

0 comments on commit 744e2bf

Please sign in to comment.