Skip to content

Commit

Permalink
Merge pull request #223 from hydephp/develop
Browse files Browse the repository at this point in the history
HydePHP v1.1.0 - 2023-03-22
  • Loading branch information
caendesilva authored Mar 22, 2023
2 parents dcbd9b8 + e5b079b commit 59e9487
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 36 deletions.
58 changes: 26 additions & 32 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ jobs:
if: github.ref == 'refs/heads/master'

steps:
- uses: shivammathur/setup-php@16011a795d747d5f45038f96371c3b98aec5669d
with:
php-version: '8.1'
extensions: fileinfo
- uses: shivammathur/setup-php@16011a795d747d5f45038f96371c3b98aec5669d
with:
php-version: '8.1'
extensions: fileinfo

- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Require latest version
if: matrix.dependency-version == 'latest'
run: composer require hyde/framework:master --no-install

- name: Install dependencies
run: composer require hyde/testing --dev --no-install && composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Require latest version
if: matrix.dependency-version == 'latest'
run: composer require hyde/framework:master --no-install

- name: Download test runner configuration
run: curl https://raw.githubusercontent.com/hydephp/develop/master/packages/hyde/phpunit.xml.dist -o phpunit.xml.dist
- name: Install dependencies
run: composer require hyde/testing --dev --no-install && composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

- name: Execute tests (Unit and Feature tests) via Pest
run: vendor/bin/pest
- name: Download test runner configuration
run: curl https://raw.githubusercontent.com/hydephp/develop/master/packages/hyde/phpunit.xml.dist -o phpunit.xml.dist

- name: Execute tests (Unit and Feature tests) via Pest
run: vendor/bin/pest


hyde-tests-develop:
Expand All @@ -57,25 +57,19 @@ jobs:
if: github.ref == 'refs/heads/develop'

steps:
- uses: shivammathur/setup-php@16011a795d747d5f45038f96371c3b98aec5669d
with:
php-version: ${{ matrix.php }}
extensions: fileinfo, zip

- uses: actions/checkout@v3
- uses: shivammathur/setup-php@16011a795d747d5f45038f96371c3b98aec5669d
with:
php-version: ${{ matrix.php }}
extensions: fileinfo, zip

- name: Require latest development version
run: composer require hyde/framework:dev-develop --no-install
- uses: actions/checkout@v3

- name: Require additional dependencies
run: composer require hyde/testing:dev-master --dev --no-install
- name: Require latest development version
run: composer require hyde/framework:dev-develop hyde/testing:dev-master

- name: Install dependencies
run: composer install --no-interaction
- name: Download test runner configuration
run: curl https://raw.githubusercontent.com/hydephp/develop/master/packages/hyde/phpunit.xml.dist -o phpunit.xml.dist

- name: Download test runner configuration
run: curl https://raw.githubusercontent.com/hydephp/develop/master/packages/hyde/phpunit.xml.dist -o phpunit.xml.dist
- name: Execute tests (Unit and Feature tests) via Pest
run: vendor/bin/pest

- name: Execute tests (Unit and Feature tests) via Pest
run: vendor/bin/pest

4 changes: 2 additions & 2 deletions _media/app.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions config/hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@
'port' => env('SERVER_PORT', 8080),
'host' => env('SERVER_HOST', 'localhost'),
'dashboard' => env('SERVER_DASHBOARD', true),
'save_preview' => true,
],

/*
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"name": "hyde",
"description": "Elegant and Powerful Static App Builder",
"version": "1.0.0",
"version": "1.1.0",
"main": "hyde",
"directories": {
"test": "tests"
Expand All @@ -32,7 +32,7 @@
"devDependencies": {
"@tailwindcss/typography": "^0.5.2",
"autoprefixer": "^10.4.5",
"hydefront": "^3.2.0",
"hydefront": "^3.3.0",
"laravel-mix": "^6.0.49",
"postcss": "^8.4.13",
"prettier": "2.6.0",
Expand Down

0 comments on commit 59e9487

Please sign in to comment.