Skip to content

Commit

Permalink
Update test-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga authored Aug 22, 2024
1 parent 1718c68 commit 9b6a69d
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ jobs:
- name: Run Metacall
run: |
metacall ./test/script.js | findstr "123456"
if not %ERRORLEVEL% EQU 0 exit /B 1
- name: Python Test
run: |
metacall pip install -r test/requirements.txt | findstr "Successfully installed"
if not %ERRORLEVEL% EQU 0 exit /B 1
metacall ./test/requirements.py | findstr "123456"
- name: Deploy Test
if not %ERRORLEVEL% EQU 0 exit /B 1
- name: Deploy & FaaS Test
run: |
metacall deploy --version | findstr /R "^v.*\..*\..*"
- name: Faas Test
run: |
if not %ERRORLEVEL% EQU 0 exit /B 1
metacall faas --version | findstr /R "^v.*\..*\..*"
if not %ERRORLEVEL% EQU 0 exit /B 1
install-from-path:
name: Install Metacall via Path Installation
runs-on: windows-latest
Expand All @@ -43,13 +46,16 @@ jobs:
- name: Run Metacall
run: |
metacall ./test/script.js | findstr "123456"
if not %ERRORLEVEL% EQU 0 exit /B 1
- name: Python Test
run: |
metacall pip install -r test/requirements.txt | findstr "Successfully installed"
if not %ERRORLEVEL% EQU 0 exit /B 1
metacall ./test/requirements.py | findstr "123456"
- name: Deploy Test
if not %ERRORLEVEL% EQU 0 exit /B 1
- name: Deploy & FaaS Test
run: |
metacall deploy --version | findstr /R "^v.*\..*\..*"
- name: Faas Test
run: |
if not %ERRORLEVEL% EQU 0 exit /B 1
metacall faas --version | findstr /R "^v.*\..*\..*"
if not %ERRORLEVEL% EQU 0 exit /B 1

0 comments on commit 9b6a69d

Please sign in to comment.