-
-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Power-Components/6.x
upgrade to V6
- Loading branch information
Showing
322 changed files
with
5,013 additions
and
7,810 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# https://mirrors.edge.kernel.org/pub/software/scm/git/docs/gitattributes.html | ||
|
||
.github export-ignore | ||
/art export-ignore | ||
/tests export-ignore | ||
docker-compose.yml export-ignore | ||
.gitattributes export-ignore | ||
phpstan.neon export-ignore | ||
phpunit.mysql.xml export-ignore | ||
phpunit.pgsql.xml export-ignore | ||
phpunit.xml export-ignore | ||
pint.json export-ignore | ||
postcss.config.js export-ignore | ||
webpack.mix.js export-ignore | ||
.bladeformatterrc.json export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: Cypress | ||
|
||
on: | ||
push: | ||
branches: | ||
- "**" | ||
paths-ignore: | ||
- "art/**" | ||
- "README.md" | ||
pull_request: | ||
types: [ready_for_review, synchronize, opened] | ||
paths-ignore: | ||
- "art/**" | ||
- "README.md" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
mysql: | ||
image: mysql:5.7 | ||
env: | ||
MYSQL_ROOT_PASSWORD: password | ||
MYSQL_DATABASE: powergridtest | ||
ports: | ||
- 3307:3306 | ||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | ||
|
||
postgres: | ||
image: postgres:9.6 | ||
env: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: password | ||
POSTGRES_DB: powergridtest | ||
ports: | ||
- 5433:5432 | ||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: [ 8.2 ] | ||
|
||
name: PHP:${{ matrix.php }} | ||
|
||
if: github.ref != 'refs/heads/todo-tests' | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup PHP, with composer and extensions | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv | ||
tools: composer:v2 | ||
coverage: none | ||
|
||
- name: Get composer cache directory | ||
id: composer-cache | ||
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
|
||
- name: Build App | ||
run: | | ||
npm install | ||
git clone https://github.com/Power-Components/powergrid-cypress-base.git tests/cypress/app | ||
chmod +x ./tests/cypress/mysql.sh | ||
chmod +x ./tests/cypress/pgsql.sh | ||
- name: MySQL | ||
run: | | ||
./tests/cypress/mysql.sh | ||
cd ./tests/cypress/app && php artisan serve & sleep 5 & | ||
cd ./tests/cypress && npx cypress run | ||
shell: bash | ||
|
||
- name: PostGreSQL | ||
run: | | ||
./tests/cypress/pgsql.sh | ||
cd ./tests/cypress/app && php artisan serve & sleep 5 & | ||
cd ./tests/cypress && npx cypress run | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
{ | ||
"/powergrid.js": "/powergrid.js?id=e337ca9de7dd9197a219302abbb7fce0", | ||
"/bootstrap5.css": "/bootstrap5.css?id=ebd9853ab6704f4a2335e83a4310bb2b", | ||
"/tailwind.css": "/tailwind.css?id=714a88b9d3bc600e84388f451014ac82", | ||
"/tom-select.css": "/tom-select.css?id=7af730d2c4bf937316d4002948b1571d", | ||
"/powergrid.css": "/powergrid.css?id=ccf9e99db3929ffc436445d5befaf2ac" | ||
"/powergrid.js": "/powergrid.js?id=9d73d8a5f9abad977a66cabf31e89f3d", | ||
"/bootstrap5.css": "/bootstrap5.css?id=a27af22343149104b2aa3283d8fd502b", | ||
"/tailwind.css": "/tailwind.css?id=924477e2afcb2cb56aa392e266ee56ca" | ||
} |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.