Skip to content

Commit

Permalink
Env : update env.test for github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
julkwel committed Jan 8, 2024
1 parent a0fce81 commit e484a2c
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,11 @@ jobs:

- name: Copy .env.test
run: php -r "file_exists('.env') || copy('.env.test', '.env');"

- uses: actions/checkout@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build Docker Images
uses: docker/bake-action@v4
with:
pull: true
load: true
files: |
compose.yaml

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Build and run docker
run: |
docker compose build
docker compose up
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
Expand Down

0 comments on commit e484a2c

Please sign in to comment.