mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
4f32d23c30
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
name: Run Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
- '**/*.txt'
|
|
- '.github/**'
|
|
- '**/.gitignore'
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
- '**/*.txt'
|
|
- '.github/**'
|
|
- '**/.gitignore'
|
|
|
|
defaults:
|
|
run:
|
|
shell: cmd
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
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
|
|
- name: Initialize vendors
|
|
shell: pwsh
|
|
working-directory: scripts
|
|
run: .\build.ps1 -verbose
|
|
- name: Testing Clink Shell
|
|
run: |
|
|
cmd /c vendor\init.bat /v /d /t
|
|
- name: Testing PowerShell
|
|
run: |
|
|
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "Invoke-Expression '. ''vendor\profile.ps1'''"
|
|
- name: Testing Bash
|
|
run: |
|
|
bash vendor/cmder.sh
|