Skip to content

Commit

Permalink
ci: format yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Mar 15, 2024
1 parent fc0b16b commit 6c6c343
Showing 1 changed file with 34 additions and 35 deletions.
69 changes: 34 additions & 35 deletions .github/workflows/ci.yaml
@@ -1,38 +1,37 @@
name: CI
on:
push:
branches:
- master
pull_request: null
schedule:
-
cron: '0 0 * * MON'
push:
branches:
- master
pull_request: null
schedule:
- cron: "0 0 * * MON"
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['7.4', '8.0', '8.1']
composer-flags: ['']
name: ['']
include:
- php-version: '7.3'
composer-flags: '--prefer-lowest'
name: '(prefer lowest dependencies)'
name: Tests PHP ${{ matrix.php-version }} ${{ matrix.name }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
uses: shivammathur/setup-php@2
with:
php-version: ${{ matrix.php-version }}
- name: composer install
run: composer update --prefer-dist --no-interaction ${{ matrix.composer-flags }}
- name: Build docker
run: docker build -t httpbin .
- name: Run docker
run: docker run -d -p 8081:80 httpbin
- name: tests
run: composer test
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ["7.4", "8.0", "8.1"]
composer-flags: [""]
name: [""]
include:
- php-version: "7.3"
composer-flags: "--prefer-lowest"
name: "(prefer lowest dependencies)"
name: Tests PHP ${{ matrix.php-version }} ${{ matrix.name }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
uses: shivammathur/setup-php@2
with:
php-version: ${{ matrix.php-version }}
- name: composer install
run: composer update --prefer-dist --no-interaction ${{ matrix.composer-flags }}
- name: Build docker
run: docker build -t httpbin .
- name: Run docker
run: docker run -d -p 8081:80 httpbin
- name: tests
run: composer test

0 comments on commit 6c6c343

Please sign in to comment.