Skip to content

Commit

Permalink
Add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rvogel committed Feb 7, 2022
1 parent 3b217fc commit 8b5a23e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: basic-tests

on: push

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
tools: composer:2

- name: Install dependencies
run: composer update

- name: Run check coding conventions
run: composer test

8 changes: 4 additions & 4 deletions src/IStatusManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

interface IStatusManager {

const STATUS_WAITING = 'waiting';
const STATUS_READY = 'ready';
const STATUS_RUNNING = 'running';
const STATUS_FAILED = 'failed';
public const STATUS_WAITING = 'waiting';
public const STATUS_READY = 'ready';
public const STATUS_RUNNING = 'running';
public const STATUS_FAILED = 'failed';

/**
* @param IHandler $handler
Expand Down

0 comments on commit 8b5a23e

Please sign in to comment.