From bb13ecd33ac1857f627dbb3df017c9f50fb3e633 Mon Sep 17 00:00:00 2001 From: Carl Drews Date: Wed, 3 Jul 2024 15:26:34 -0600 Subject: [PATCH] Modified to look like the MusicBox template. --- .github/workflows/smoke_test.yml | 65 +++++++++++++++++--------------- 1 file changed, 34 insertions(+), 31 deletions(-) diff --git a/.github/workflows/smoke_test.yml b/.github/workflows/smoke_test.yml index 40c8f363..27cca0dc 100644 --- a/.github/workflows/smoke_test.yml +++ b/.github/workflows/smoke_test.yml @@ -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" +