Skip to content

Commit 72d9aed

Browse files
committed
Install SVN via CI
1 parent 4d4b81c commit 72d9aed

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/docker/docker-compose.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ services:
3636
- ./wordpress:/var/www/html
3737
- ./plugins:/var/www/html/wp-content/plugins
3838

39-
svn:
40-
image: subversion
41-
volumes:
42-
- ./svn:/var/lib/svn
43-
command: svnserve -d -r /var/lib/svn
44-
4539
volumes:
4640
db_data: {}
4741
wp_content: {}

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
run: |
3737
CONTAINER_ID=$(docker-compose -f .github/docker/docker-compose.yml ps -q wordpress)
3838
docker logs "$CONTAINER_ID"
39+
40+
- name: Install svn
41+
run: |
42+
apt-get update && apt-get install -y subversion && rm -rf /var/lib/apt/lists/*
3943
4044
# Wait for WordPress to be fully up before running commands
4145
- name: Wait for WordPress to be available

0 commit comments

Comments
 (0)