Skip to content

Commit

Permalink
feat: add test script
Browse files Browse the repository at this point in the history
  • Loading branch information
danny50610 committed Aug 18, 2023
1 parent 29db129 commit 37c1d23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,5 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-progress

# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md

# - name: Run test suite
# run: composer run-script test
- name: Run test suite
run: composer run-script test
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
"psr-4": {
"Danny50610\\BpeTokeniser\\Tests\\": "tests/"
}
},
"scripts": {
"test": "vendor/bin/phpunit"
}
}

0 comments on commit 37c1d23

Please sign in to comment.