Skip to content

(Linux) Run demo with kai client and evaluate results #12

(Linux) Run demo with kai client and evaluate results

(Linux) Run demo with kai client and evaluate results #12

name: Run demo with kai client and evaluate results (Linux)
on:
schedule:
- cron: '0 0 * * 0,1,2,3,4,5'
jobs:
test-and-evaluate:
name: Run demo and evaluation
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "oracle"
java-version: "17"
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Set up venv
run: |
python -m venv venv
. venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
- name: Set up dependencies
run: |
cd kai-client-ci
pip install -r requirements.txt
env:
PATH: ${{ env.PATH }}
- name: Run execution & evaluation test
run: |
python --version
cd kai-client-ci
python ./main.py
env:
PATH: ${{ env.PATH }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }}