Merge pull request #2 from patrontech/fix_autoload_linux #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Unit Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout the repository | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| # Set up PHP | |
| - name: Set up PHP | |
| uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 | |
| with: | |
| php-version: '8.1' | |
| extensions: mbstring, openssl | |
| coverage: none | |
| # Install dependencies | |
| - name: Install dependencies | |
| run: composer install --no-progress --no-suggest --prefer-dist | |
| # Run Codeception tests | |
| - name: Run tests | |
| run: vendor/bin/codecept run Unit |