Skip to content

Commit

Permalink
Modified to look like the MusicBox template.
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-drews committed Jul 3, 2024
1 parent 287f23e commit bb13ecd
Showing 1 changed file with 34 additions and 31 deletions.
65 changes: 34 additions & 31 deletions .github/workflows/smoke_test.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
# This is a basic workflow that is manually triggered

name: Manual workflow

# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
# Friendly description to be shown in the UI instead of 'name'
description: 'Person to greet'
# Default value if no value is explicitly provided
default: 'World'
# Input has to be provided for the workflow to run
required: true
# The data type of the input
type: string

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
name: smoke

on: [push, workflow_dispatch]

jobs:
# This workflow contains a single job called "greet"
greet:
# The type of runner that the job will run on
runs-on: ubuntu-latest
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

# Steps represent a sequence of tasks that will be executed as part of the job
runs-on: ${{ matrix.os }}
steps:
# Runs a single command using the runners shell
- name: Install
run: pip install .
- name: Solve
run: music_box configFile="music-box\tests\configs\analytical_config\my_config.json" outputDir="music-box\tests\configs\analytical_config"

- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'

- run: pip install -r requirements.txt

- name: Install this package
run: pip install -e .

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run the smoke tests
run: |
pip install .
music_box configFile="tests\configs\analytical_config\my_config.json" outputDir="tests\configs\analytical_config"

0 comments on commit bb13ecd

Please sign in to comment.