cmder/.github/workflows/tests.yml

55 lines
1.1 KiB
YAML
Raw Normal View History

2022-10-16 00:27:20 +03:30
name: Run Tests
on:
push:
branches:
- master
2024-01-02 12:04:31 -05:00
- development
paths-ignore:
- '**/*.md'
- '**/*.txt'
- '.github/**'
- '**/.gitignore'
2022-10-16 00:27:20 +03:30
pull_request:
branches:
- master
2024-01-02 12:04:31 -05:00
- development
paths-ignore:
- '**/*.md'
- '**/*.txt'
- '.github/**'
- '**/.gitignore'
2022-10-18 15:20:35 +03:30
2022-10-16 00:27:20 +03:30
defaults:
run:
shell: cmd
2022-10-18 15:20:35 +03:30
2022-10-16 00:27:20 +03:30
permissions:
contents: read
2022-10-18 15:20:35 +03:30
2022-10-16 00:27:20 +03:30
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
tests:
runs-on: windows-latest
continue-on-error: false
steps:
- uses: actions/checkout@v4
2022-10-18 16:26:47 +03:30
- name: Initialize vendors
2022-10-18 16:54:26 +03:30
shell: pwsh
working-directory: scripts
run: .\build.ps1 -verbose
2022-10-16 00:33:31 +03:30
- name: Testing Clink Shell
run: |
2022-10-18 15:20:35 +03:30
cmd /c vendor\init.bat /v /d /t
2022-10-16 00:33:31 +03:30
- name: Testing PowerShell
run: |
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "Invoke-Expression '. ''vendor\profile.ps1'''"
- name: Testing Bash
run: |
2022-10-16 00:27:20 +03:30
bash vendor/cmder.sh