Skip to content

Commit

Permalink
try fixing ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Feb 27, 2024
1 parent 210b898 commit 5d867c0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ jobs:

- name: Install Helios
run: |
CMAKE_PREFIX_PATH=${CONDA_PREFIX} python -m pip install -v .
python -m pip install -v .
- name: Run tests
run: |
pwd
ls -al
python -m pytest -m exe
python -m pytest -m pyh
4 changes: 4 additions & 0 deletions python/pyhelios/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import importlib_resources as resources
import os
import subprocess
import sys

Expand All @@ -9,6 +10,9 @@ def _get_executable():


def helios_exec(args):
# Inject additional arguments to account for standard paths
args = args + ["--assets", os.getcwd()]

executable = _get_executable()
return subprocess.call([executable] + args)

Expand Down
2 changes: 0 additions & 2 deletions src/filems/util/FileUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ std::vector<std::string> FileUtils::handleFilePath(
std::map<std::string, ObjectT> & params,
const std::vector<std::string> & assetsDir
){
std::vector<std::string> filePaths(0);
std::string path;
bool extendedFilePath = false;

Expand All @@ -32,7 +31,6 @@ std::vector<std::string> FileUtils::handleFilePath(
catch(std::exception &e){
try{
path = boost::get<std::string const &>(params["filepath"]);
filePaths.push_back(path);
}
catch(std::exception &e2){
std::stringstream ss;
Expand Down

0 comments on commit 5d867c0

Please sign in to comment.