remove unnecessary logs from Github Action output #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |