Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action test #174

Merged
merged 5 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push, workflow_dispatch]

jobs:
build:
continue-on-error: true
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Expand All @@ -20,17 +21,13 @@ jobs:
python-version: '3.9'
cache: 'pip'

- run: pip install -r requirements.txt
- name: Install dependencies
run: python -m pip install --upgrade pip

- 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: |
music_box configFile="tests\configs\analytical_config\my_config.json" outputDir="tests\configs\analytical_config"
music_box configFile=tests/configs/analytical_config/my_config.json outputDir=tests/configs/analytical_config

5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions src/acom_music_box/music_box_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ def main():
logger.info("myBox = {}".format(myBox))

# create solver and solve, writing output to requested directory
campConfig = os.path.dirname(musicBoxConfigFile) + "\\" + myBox.config_file
campConfig = os.path.join(os.path.dirname(musicBoxConfigFile), myBox.config_file)
logger.info("CAMP config = {}".format(campConfig))
myBox.create_solver(campConfig)
logger.info("myBox.solver = {}".format(myBox.solver))
mySolution = myBox.solve(musicBoxOutputDir + "\\my_solution.csv")
mySolution = myBox.solve(os.path.join(musicBoxOutputDir, "mySolution.csv"))
logger.info("mySolution = {}".format(mySolution))

logger.info("End time: {}".format(datetime.datetime.now()))
Expand Down
Loading