Skip to content

fix: output tail end of logs #15

fix: output tail end of logs

fix: output tail end of logs #15

name: Test Kaggle Script Action
on:
pull_request:
jobs:
test_kaggle_script_action:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Kaggle API credentials
env:
KAGGLE_USERNAME: ${{ secrets.KAGGLE_USERNAME }}
KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }}
run: |
echo "KAGGLE_USERNAME=${KAGGLE_USERNAME}" >> $GITHUB_ENV
echo "KAGGLE_KEY=${KAGGLE_KEY}" >> $GITHUB_ENV
- name: Test Kaggle Script Action
uses: ./
with:
username: ${{ secrets.KAGGLE_USERNAME }}
key: ${{ secrets.KAGGLE_KEY }}
title: "Test Kaggle Script Action"
custom_script: |
python test.py --url "https://jsonplaceholder.typicode.com/posts/1"
working_subdir: "tests"
enable_internet: true
enable_gpu: true
enable_tpu: false
sleep_time: 10