Skip to content

Commit

Permalink
Update build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Nov 2, 2021
1 parent d6b01bb commit 43fd0c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,20 @@ on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- develop
- master
paths:
- src/**
- tests/**
- '**.php'
- .github/workflows/build.yml
- composer.json
pull_request:
branches:
- develop
- master
paths:
- src/**
- tests/**
- '**.php'
- .github/workflows/build.yml
- composer.json

jobs:
main:
name: Build [PHP ${{ matrix.php-versions }}]
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, '[ci skip]')"

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion src/Util/GithubMonitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function warning(string $message, string $file = '', int $line = 1, int $
*/
private function recreateMessage(array $testDetails): string
{
// @phpstan-var array{'label':string, 'time':float, 'limit':float} $testDetails
/** @phpstan-var array{label:string, time:float, limit:float} $testDetails */
['label' => $label, 'time' => $time, 'limit' => $limit] = $testDetails;
$precision = $this->tachycardia->getPrecision();

Expand Down

0 comments on commit 43fd0c5

Please sign in to comment.