Skip to content

Commit

Permalink
Build and test PHAR for every build
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianfeldmann committed Apr 16, 2021
1 parent 302adc0 commit cb98d16
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
include:
- php: "8.0"
composeroptions: "--ignore-platform-req=php"
env:
PHAR: "build/phar/captainhook.phar"

steps:
- uses: actions/checkout@master

Expand Down Expand Up @@ -49,3 +52,15 @@ jobs:

- name: Static code analysis
run: tools/phpstan analyse

- name: Validate configuration for humbug/box
run: tools/box validate box.json

- name: Compile phar with humbug/box
run: tools/box compile

- name: Show info about generated phar with humbug/box
run: tools/box info ${{ env.PHAR }}

- name: Run phar
run: ${{ env.PHAR }} --help

0 comments on commit cb98d16

Please sign in to comment.