name: Test Flow introspecting Rockstar Repo cwd: ./examples env: ROCKSTAR_REPO: https://github.com/RockstarLang/rockstar.git options: log_dir: ./logs tasks: - name: Create a temporary directory run: mkdir tmp - name: Clone Rockstar Repo run: git clone $ROCKSTAR_REPO cwd: tmp - name: Download Rockstar Readme run: | curl -s https://raw.githubusercontent.com/RockstarLang/rockstar/main/README.md > README.md head README.md cwd: tmp - name: Show last 3 commits run: git log -n 3 cwd: tmp/rockstar - name: Run a python script run: | print('Hello World') print('This is a python script') shell: python - name: Setup satriani compiler run: | yarn install yarn pegjs cwd: tmp/rockstar/satriani - name: Run a rockstar program run: node rockstar ../examples/hello-world.rock cwd: tmp/rockstar/satriani - name: Cleanup run: rm -rf tmp hooks: before_job: - name: Before Scenario run: echo $(pwd) after_job: - name: After Scenario run: ls on_failure: - name: On Error run: echo "Task $NAUMAN_PREV_ID failed with code $NAUMAN_PREV_CODE" on_success: - name: On Success run: echo "Task $NAUMAN_PREV_ID succeeded with code $NAUMAN_PREV_CODE" before_task: - name: Before Task run: echo $(pwd) after_task: - name: After Task run: ls logging: - type: file stdout: true stderr: false output: ./full.log - type: file stdout: true stderr: true split: true output: ./separate - type: console stdout: true stderr: true