Skip to content

Updated system tests #4

Updated system tests

Updated system tests #4

Workflow file for this run

# Datenstrom Yellow system tests
name: System tests
on: [push, pull_request]
jobs:
installation-tests:
name: Installation on ${{ runner.os }}

Check failure on line 7 in .github/workflows/system-tests.yml

View workflow run for this annotation

GitHub Actions / System tests

Invalid workflow file

The workflow is not valid. .github/workflows/system-tests.yml (Line: 7, Col: 11): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.os .github/workflows/system-tests.yml (Line: 28, Col: 11): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.os
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
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
extension-tests:
name: Extensions on ${{ runner.os }}
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
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 .github/workflows/make-tests.php
- name: Run tests
run: cd tests; php yellow.php generate tests
php-tests:
name: PHP ${{ matrix.php }} on ${{ runner.os }}
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
- name: Run tests
run: php yellow.php generate tests