diff --git a/.github/workflows/smoke_test.yml b/.github/workflows/smoke_test.yml index b90845ee..4fcece83 100644 --- a/.github/workflows/smoke_test.yml +++ b/.github/workflows/smoke_test.yml @@ -4,6 +4,7 @@ on: [push, workflow_dispatch] jobs: build: + continue-on-error: true strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] @@ -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 diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index d32852a8..00000000 --- a/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -musica==0.6.1.dev0 -pandas -pipx -pytest -twine \ No newline at end of file diff --git a/src/acom_music_box/music_box_main.py b/src/acom_music_box/music_box_main.py index 1016dc4f..8035e88f 100644 --- a/src/acom_music_box/music_box_main.py +++ b/src/acom_music_box/music_box_main.py @@ -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()))