Skip to content

Commit

Permalink
gh actions: use tmp folder instead
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored May 15, 2024
1 parent f31edc3 commit ef96382
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
- name: Setup test configurations
run: |
mkdir -p /test-sogo
mkdir -p /tmp/test-sogo
plist_config=$(cat sample-config.conf)
echo "$plist_config" > /test-sogo/sogo.conf
echo "$plist_config" > /tmp/test-sogo/sogo.conf
- name: Setup test PostgreSQL
run: |
Expand All @@ -96,7 +96,7 @@ jobs:
--name sogo \
--network test-sogo \
-p 80:80/tcp \
-v /test-sogo/sogo.conf:/etc/sogo/sogo.conf
-v /tmp/test-sogo/sogo.conf:/etc/sogo/sogo.conf
--stop-timeout 30 \
test-sogo:${{ github.run_id }}
Expand Down Expand Up @@ -170,9 +170,9 @@ jobs:
- name: Setup test configurations
run: |
mkdir -p /test-sogo
mkdir -p /tmp/test-sogo
yaml_config=$(cat sample-config.yaml)
echo "$yaml_config" > /test-sogo/sogo.yaml
echo "$yaml_config" > /tmp/test-sogo/sogo.yaml
- name: Setup test PostgreSQL
run: |
Expand All @@ -191,7 +191,7 @@ jobs:
--name sogo \
--network test-sogo \
-p 80:80/tcp \
-v /test-sogo/sogo.yaml:/etc/sogo/sogo.conf.d/00-test.yaml
-v /tmp/test-sogo/sogo.yaml:/etc/sogo/sogo.conf.d/00-test.yaml
--stop-timeout 30 \
test-sogo:${{ github.run_id }}
Expand Down

0 comments on commit ef96382

Please sign in to comment.