Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nall-chan committed May 26, 2023
1 parent 293df10 commit 123bc71
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 25 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@ name: Check Style
on: [push, pull_request]

jobs:

style:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: Only fetch Style PHP submodule
run: git submodule update --init -- .style

- name: Install latest PHP-CS-Fixer
run: wget https://cs.symfony.com/download/php-cs-fixer-v2.phar

- name: Run Checks
run: php php-cs-fixer-v2.phar fix --config=.style/.php_cs -v --dry-run --allow-risky=yes .
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
- name: Checkout module
uses: actions/checkout@master
- name: Check style
uses: Nall-chan/action-style@master
18 changes: 6 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,12 @@ name: Run Tests
on: [push, pull_request]

jobs:

test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
with:
submodules: true

- name: Install latest PHPUnit
run: wget https://phar.phpunit.de/phpunit.phar

- name: Run Tests
run: phpdbg -qrr phpunit.phar tests
- name: Checkout module
uses: actions/checkout@master
with:
submodules: true
- name: Run tests
uses: symcon/action-tests@master

0 comments on commit 123bc71

Please sign in to comment.