Skip to content

Commit 0e109c4

Browse files
committed
Added missing linting of workflow tests.
1 parent 362ddcc commit 0e109c4

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/vortex-test-common.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,13 @@ jobs:
159159
run: composer install
160160
working-directory: .vortex/tests
161161

162+
- name: Lint code
163+
run: |
164+
php -d memory_limit=-1 ./vendor/bin/phpcs
165+
php -d memory_limit=-1 ./vendor/bin/phpstan
166+
php -d memory_limit=-1 ./vendor/bin/rector --dry-run
167+
working-directory: .vortex/tests
168+
162169
- name: Install Ahoy
163170
run: |
164171
version=2.4.0 && \

.vortex/tests/phpunit/Functional/PostBuildTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ public function testCircleCiArtifactsAreSaved(): void {
5858

5959
$this->assertNotEmpty($previous_job_numbers, 'No previous job numbers found');
6060

61-
foreach ($previous_job_numbers as $previou_job_number) {
62-
$artifacts_data = $this->circleCiGetJobArtifacts($previou_job_number);
61+
foreach ($previous_job_numbers as $previous_job_number) {
62+
$artifacts_data = $this->circleCiGetJobArtifacts($previous_job_number);
6363

6464
// Verify runner 0 artifacts.
6565
$artifact_paths_runner0 = $this->circleCiExtractArtifactPaths($artifacts_data, 0);
@@ -101,8 +101,8 @@ public function testCircleCiTestResultsAreSaved(): void {
101101

102102
$this->assertNotEmpty($previous_job_numbers, 'No previous job numbers found');
103103

104-
foreach ($previous_job_numbers as $previou_job_number) {
105-
$tests_data = $this->circleCiGetJobTestMetadata($previou_job_number);
104+
foreach ($previous_job_numbers as $previous_job_number) {
105+
$tests_data = $this->circleCiGetJobTestMetadata($previous_job_number);
106106
$test_paths = $this->circleCiExtractTestPaths($tests_data);
107107
$test_paths_str = implode("\n", $test_paths);
108108

0 commit comments

Comments
 (0)