Skip to content

Merge pull request #7 from natescherer/dependabot/github_actions/gitt… #32

Merge pull request #7 from natescherer/dependabot/github_actions/gitt…

Merge pull request #7 from natescherer/dependabot/github_actions/gitt… #32

Workflow file for this run

name: CI
on:
push:
branches:
- main
- bugfix/**
- feature/**
workflow_dispatch:
jobs:
Test:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: pwsh
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Set Variables
run: |
"BARE_REPOSITORY=$($env:GITHUB_REPOSITORY.split("/")[1])" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
- name: Checkout
uses: actions/checkout@v3
- name: Convert in Place
uses: ./
with:
path: test\files\README.md,test\files\CHANGELOG.md,test\files\docs\doc1.md
- name: Convert to Flat Folder
uses: ./
with:
path: test\files\README.md,test\files\CHANGELOG.md,test\files\docs\doc1.md
outputpath: test\out1
- name: Convert to Tree
uses: ./
with:
path: test\files\README.md,test\files\CHANGELOG.md,test\files\docs
outputpath: test\out2
matchpathstructure: true
- name: Run Pester Tests
id: pester
uses: zyborg/pester-tests-report@v1
with:
report_name: TestResults_${{ runner.os }}
github_token: ${{ secrets.GITHUB_TOKEN }}
gist_name: ${{ env.BARE_REPOSITORY }}_TestResults_${{ runner.os }}.md
gist_badge_label: ${{ runner.os }}
gist_token: ${{ secrets.PESTER_GIST_TOKEN }}
tests_fail_step: true