add tests

This commit is contained in:
David Refoua 2022-10-16 00:27:20 +03:30 committed by GitHub
parent 8d4afb0570
commit 2de6f8232a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

33
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: Run Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
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@v3
- run: |
cmd /c vendor\bin\cmder_shell.cmd
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "Invoke-Expression '. ''vendor\profile.ps1'''"
bash vendor/cmder.sh