Updated Karlskrona extension: Update to Pico v2.0.3 and style for notices added #50
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
# Datenstrom Yellow system tests | |
name: System tests | |
on: [push, pull_request] | |
jobs: | |
extension-tests: | |
name: Extensions | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: latest | |
extensions: curl, gd, mbstring, zip | |
ini-file: development | |
coverage: none | |
tools: none | |
- name: Set up problem matcher | |
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json" | |
- name: Set up test environment | |
run: | | |
php yellow.php skip installation maximal | |
echo "Generate:exclude" > content/contact/page.md | |
echo "Generate:exclude" > content/search/page.md | |
- name: Run tests | |
run: php yellow.php generate tests | |
php-tests: | |
name: PHP ${{ matrix.php }} | |
strategy: | |
matrix: | |
php: [8.3, 8.2, 8.1, 8.0, 7.4, 7.3, 7.2, 7.1, 7.0] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: curl, gd, mbstring, zip | |
ini-file: development | |
coverage: none | |
tools: none | |
- name: Set up problem matcher | |
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json" | |
- name: Set up test environment | |
run: php yellow.php skip installation minimal | |
- name: Run tests | |
run: php yellow.php generate tests |