mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 06:03:10 +00:00
Fixed path to sim. Added Info job.
This commit is contained in:
parent
825d13bd5e
commit
811f9c1f44
8
.github/workflows/test_linux.yml
vendored
8
.github/workflows/test_linux.yml
vendored
@ -134,6 +134,12 @@ jobs:
|
||||
# uses: actions/setup-python@v2
|
||||
# with:
|
||||
# python-version: ${{ matrix.python-version }}
|
||||
- name: Info
|
||||
run: |
|
||||
pwd
|
||||
echo $TEST
|
||||
env:
|
||||
TEST: Hello World!
|
||||
- name: Update Package Manager
|
||||
run: ${{matrix.conf_pkg}}
|
||||
- name: Install Dependencies
|
||||
@ -158,6 +164,6 @@ jobs:
|
||||
. .venv/bin/activate
|
||||
./run_tests.py
|
||||
env:
|
||||
TRICK_HOME: "../../../../"
|
||||
TRICK_HOME: "/"
|
||||
- name: Test
|
||||
run: make test
|
||||
|
@ -25,14 +25,13 @@ class Params:
|
||||
if not self.__trick_home:
|
||||
print("ERROR:", "TRICK_HOME not found")
|
||||
# self.__trick_home = None
|
||||
self.__path_to_sim = os.path.join(self.get_trick_home(), "trick_sims", "Cannon", "SIM_cannon_numeric") #TODO: Make the getter do this operation
|
||||
self.__input_folder = "RUN_test"
|
||||
self.__test_input_file = f"tmp_input_for_test.py"
|
||||
|
||||
def get_trick_home(self):
|
||||
return self.__trick_home
|
||||
def get_path_to_sim(self):
|
||||
return self.__path_to_sim
|
||||
return os.path.join(self.get_trick_home(), "trick_sims", "Cannon", "SIM_cannon_numeric")
|
||||
def get_input_folder(self):
|
||||
return self.__input_folder
|
||||
def get_test_input_file(self):
|
||||
|
Loading…
Reference in New Issue
Block a user