Skip to content

Commit

Permalink
Action test (#174)
Browse files Browse the repository at this point in the history
* listing debug information

* ok actually printing wd

* trying forward slashes

* trying to join files independent of os slashes

* removing csv file
  • Loading branch information
K20shores authored Jul 9, 2024
1 parent 71f0b83 commit 3e0072a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
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

0 comments on commit 3e0072a

Please sign in to comment.