Skip to content

CI Runner

CI Runner #6

Workflow file for this run

name: CI Runner
on:
workflow_dispatch:
inputs:
status_url:
description: 'URL endpoint for status to be posted to'
required: true
type: string
jobs:
test-model:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Update status
run: sh .github/scripts/update_status.sh ${{ inputs.status_url }} "Starting testing"
- name: Install dependencies
run: |
sh .github/scripts/update_status.sh ${{ inputs.status_url }} "Installing dependencies"
echo "Installing dependencies"
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Additional Steps
run: |
sh .github/scripts/update_status.sh ${{ inputs.status_url }} "Running additional steps"
echo "Running additional steps..."
sleep
echo "Done"
- name: Main testing
run: |
sh .github/scripts/update_status.sh ${{ inputs.status_url }} "Running main testing"
echo "Running main testing"
sleep 30
echo "Done"
sh .github/scripts/update_status.sh ${{ inputs.status_url }} "Testing complete"
- name: Publish within S3
run: |
sh .github/scripts/update_status.sh ${{ inputs.status_url }} "Publishing"
echo "Somehow doing publising workflow 🤔"
sleep 30
echo "Done"
sh .github/scripts/update_status.sh ${{ inputs.status_url }} "Publishing complete"