Skip to content

Commit

Permalink
chore: rename master branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
mp3000mp committed Apr 30, 2024
1 parent 2d87396 commit f1075c9
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: backend
on:
push:
branches: [ "master" ]
branches: [ "main" ]
pull_request:
branches: [ "master" ]
branches: [ "main" ]

jobs:
lint-and-tests:
runs-on: ubuntu-latest

env:
DATABASE_URL: "mysql://user1:password1@127.0.0.1:3306/auto_entreprise_test?serverVersion=10.9.6-MariaDB"
DATABASE_URL: "mysql://user1:password1@localhost:3306/auto_entreprise_test?serverVersion=10.9.6-MariaDB"
DIRECTORY: ./backend

services:
Expand Down Expand Up @@ -49,14 +49,6 @@ jobs:
working-directory: ${{ env.DIRECTORY }}
run: composer ps

- name: debug 1
working-directory: ${{ env.DIRECTORY }}
run: docker ps -a

- name: debug 2
working-directory: ${{ env.DIRECTORY }}
run: docker exec mariadb mysql -u root -psecret -Bse "show databases"

- name: Create database
working-directory: ${{ env.DIRECTORY }}
run: php bin/console doc:database:create --no-interaction -e test
Expand Down

0 comments on commit f1075c9

Please sign in to comment.