Skip to content

Commit

Permalink
Merge c899441 into bea8742
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Apr 27, 2021
2 parents bea8742 + c899441 commit 03837f4
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 4 deletions.
48 changes: 46 additions & 2 deletions .github/workflows/gh-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ on:
- 'master'

jobs:
genetal:
name: Testing GitHub Action
develop:
name: Develop
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down Expand Up @@ -64,3 +64,47 @@ jobs:
with:
format: psalm-json
file: tests/fixtures/origin/psalm/json.json


production:
name: Production
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: JUnit.xml
continue-on-error: true
uses: JBZoo/CI-Report-Converter@v2
with:
file: tests/fixtures/origin/phpunit/junit-nested.xml

- name: CheckStyle.xml
continue-on-error: true
uses: jbzoo/ci-report-converter@v2.2
with:
format: checkstyle
file: tests/fixtures/origin/phpcs/codestyle.xml

- name: PHP Mess Detector
continue-on-error: true
uses: jbzoo/ci-report-converter@v2.2.0
with:
format: phpmd-json
file: tests/fixtures/origin/phpmd/json.json

- name: PHP Magic Numbers Detector
continue-on-error: true
uses: jbzoo/ci-report-converter@v2
with:
format: phpmd-json
file: tests/fixtures/origin/phpmd/json.json

- name: Psalm.json
continue-on-error: true
uses: jbzoo/ci-report-converter@v2.2.0
with:
format: psalm-json
file: tests/fixtures/origin/psalm/json.json
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ on:
branches:
- 'master'
schedule:
- cron: '15 */8 * * *'
- cron: '30 */8 * * *'

env:
COLUMNS: 120
TERM_PROGRAM: Hyper

jobs:
genetal:
phpunit:
name: PHPUnit Tests
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit 03837f4

Please sign in to comment.