Skip to content

Upgrade Docker PHP version to 8.3-cli-alpine #139

Upgrade Docker PHP version to 8.3-cli-alpine

Upgrade Docker PHP version to 8.3-cli-alpine #139

Workflow file for this run

#
# JBZoo Toolbox - Csv-Blueprint.
#
# This file is part of the JBZoo Toolbox project.
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#
# @license MIT
# @copyright Copyright (C) JBZoo.com, All rights reserved.
# @see https://github.com/JBZoo/Csv-Blueprint
#
name: Demo
on:
pull_request:
branches:
- "*"
push:
branches:
- 'master'
env:
COLUMNS: 120
TERM_PROGRAM: Hyper
jobs:
reports:
name: All Report Types
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Valid CSV file
uses: jbzoo/csv-blueprint@master
with:
csv: tests/fixtures/demo.csv
schema: tests/schemas/demo_valid.yml
- name: Invalid CSV file - Report as Text
uses: jbzoo/csv-blueprint@master
with:
csv: tests/fixtures/batch/*.csv
schema: tests/schemas/demo_invalid.yml
report: text
continue-on-error: true
- name: Invalid CSV file - Report as Table
uses: jbzoo/csv-blueprint@master
with:
csv: tests/fixtures/batch/*.csv
schema: tests/schemas/demo_invalid.yml
report: table
continue-on-error: true
- name: Invalid CSV file - Report as GitHub Annotations
uses: jbzoo/csv-blueprint@master
with:
csv: tests/fixtures/batch/*.csv
schema: tests/schemas/demo_invalid.yml
continue-on-error: true
- name: Invalid CSV file - TeamCity
uses: jbzoo/csv-blueprint@master
with:
csv: tests/fixtures/batch/*.csv
schema: tests/schemas/demo_invalid.yml
report: teamcity
continue-on-error: true
- name: Invalid CSV file - Gitlab
uses: jbzoo/csv-blueprint@master
with:
csv: tests/fixtures/batch/*.csv
schema: tests/schemas/demo_invalid.yml
report: gitlab
continue-on-error: true
- name: Invalid CSV file - JUnit
uses: jbzoo/csv-blueprint@master
with:
csv: tests/fixtures/batch/*.csv
schema: tests/schemas/demo_invalid.yml
report: junit
continue-on-error: true
docker:
name: Docker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Pull Docker Image
run: docker pull jbzoo/csv-blueprint
- name: 👍 Valid CSV file
run: |
docker run \
-v `pwd`:/parent-host \
--rm jbzoo/csv-blueprint \
validate:csv \
--csv=/parent-host/tests/fixtures/batch/*.csv \
--schema=/parent-host/tests/schemas/demo_valid.yml \
--ansi
- name: 👎 Invalid CSV file
run: |
! docker run \
-v `pwd`:/parent-host \
--rm jbzoo/csv-blueprint \
validate:csv \
--csv=/parent-host/tests/fixtures/batch/*.csv \
--schema=/parent-host/tests/schemas/demo_invalid.yml \
--ansi