Skip to content

Commit

Permalink
chore: revert temp use case test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrery committed May 21, 2024
1 parent 964f463 commit 19bf21d
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/run_one_use_cases_example.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Run One Use Case Example
on:
push:
workflow_dispatch:
inputs:
use_case:
Expand All @@ -13,7 +12,7 @@ on:
- cifar/cifar_brevitas_finetuning
- cifar/cifar_brevitas_training
- credit_scoring
- deployment/breast_cancer
- deployment/breast_cancer_builtin
- deployment/cifar
- deployment/sentiment_analysis
- disease_prediction
Expand Down Expand Up @@ -69,31 +68,20 @@ jobs:
run:
shell: bash
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set up Environment
run: |
# Setup commands if any, for example, installing dependencies, etc.
apt-get update && apt-get install -y python3-venv make git git-lfs binutils
# We need to freeze docker.io because its update requires user input
apt-mark hold docker.io
- name: Checkout Code
uses: actions/checkout@v4
with:
lfs: true

- name: Install dependencies
run: |
./script/make_utils/setup_os_deps.sh
make setup_env
- name: Run One Use Case Example Script
run: |
USE_CASE=${{ github.event_name == 'push' && 'deployment/breast_cancer' || github.event.inputs.use_case }}
make run_one_use_case_example USE_CASE=$USE_CASE
make run_one_use_case_example USE_CASE=${{ github.event.inputs.use_case }}
stop-runner-linux:
name: Stop EC2 runner
Expand Down

0 comments on commit 19bf21d

Please sign in to comment.