Skip to content

Commit e08567e

Browse files
heysamtexasclaude
andcommitted
fix: mount env.test directly in GitHub Actions
- Remove unnecessary copy step - Mount env.test file directly to /env in container - This ensures the environment variables are available for Django settings 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1a1deca commit e08567e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,12 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v4
1818

19-
- name: Copy test environment file
20-
run: cp env.test env
21-
2219
- name: Build Docker image
2320
run: docker build -t dri-test .
2421

2522
- name: Run Django tests
2623
run: |
2724
docker run --rm \
28-
-v $(pwd)/env:/env \
25+
-v $(pwd)/env.test:/env \
2926
dri-test \
3027
python manage.py test

0 commit comments

Comments
 (0)