Skip to content

Commit

Permalink
Merge branch 'master' into 2.x-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 14, 2024
2 parents 998ef3d + 11d8848 commit 363f3d5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ jobs:
run: vendor/bin/pest --coverage --coverage-clover clover.xml --log-junit report.xml

- name: "Publish coverage report to Codecov"
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
functionalities: network
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

- name: Ping statistics server with test results
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Hyde\Framework\Testing\Feature;

use Illuminate\Support\Facades\File;
use Hyde\Framework\HydeServiceProvider;
use Hyde\Pages\BladePage;
use Hyde\Pages\DocumentationPage;
Expand All @@ -17,6 +18,13 @@
*/
class SourceDirectoriesCanBeChangedTest extends TestCase
{
public static function tearDownAfterClass(): void
{
parent::tearDownAfterClass();

File::deleteDirectory('_source');
}

public function testBaselines()
{
$this->assertEquals('_pages', HtmlPage::sourceDirectory());
Expand Down

0 comments on commit 363f3d5

Please sign in to comment.