Skip to content

tests: Added test for script sh, zsh, ksh, dan mksh #52

tests: Added test for script sh, zsh, ksh, dan mksh

tests: Added test for script sh, zsh, ksh, dan mksh #52

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions: read-all
jobs:
build:
name: Perform check
runs-on: ubuntu-latest
if: github.repository == 'BarudakRosul/shell-compiler'
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install package
run: |
bash install.sh
sudo apt install zsh loksh mksh -y
- name: Check version openssl and list
run: |
openssl version
openssl
- name: Check syntax code
run: |
bash -n shell-compiler.sh
bash -n tests/*
- name: Testing code for encryption
run: bash tests/encryption.test.sh