fix: several typos in concepts #522
Workflow file for this run
This file contains 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: Exercise tests with PHPUnit 9 | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: PHP ${{ matrix.php-version }} - ${{ matrix.os }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: [8.0, 8.1, 8.2] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- name: Set git line endings | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: | | |
git config --system core.autocrlf false | |
git config --system core.eol lf | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f | |
with: | |
version: ${{ matrix.php-version }} | |
extensions: gmp | |
- name: Install dependencies | |
shell: bash | |
run: | | |
curl -Lo ./bin/phpunit-9.phar https://phar.phpunit.de/phpunit-9.phar | |
chmod +x bin/phpunit-9.phar | |
- name: Test exercises\ | |
shell: bash | |
env: | |
PHPUNIT_BIN: 'bin/phpunit-9.phar' | |
run: bin/test.sh |