Skip to content

Test search

Test search #4

Workflow file for this run

#Github actions demo
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
# This workflow contains a single job called "build"
jobs:
# The build job runs on an ubuntu-latest machine
build:
runs-on: self-hosted
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Check for test
run: |
if [ -f BacodeUtilTest.kt ]; then
echo "Barcode util test found!"
else
echo "Test script not found" > error.txt
exit 1
fi
continue-on-error: true