Skip to content

Commit

Permalink
chore: use docker to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
2002Bishwajeet committed Aug 14, 2023
1 parent f6f7b22 commit 36c49af
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup PHP Action
uses: shivammathur/[email protected]
with:
php-version: '8.0'
- name: Install dependencies
run: composer install --ignore-platform-reqs
- name: Run Tests
run: composer test
run: |
docker run --rm --interactive -v $PWD:/app composer sh -c \
"composer install --profile --ignore-platform-reqs && composer test"

0 comments on commit 36c49af

Please sign in to comment.