Skip to content

Commit

Permalink
copy .powrconfig to home
Browse files Browse the repository at this point in the history
  • Loading branch information
iulusoy committed Oct 25, 2023
1 parent f369abc commit 831c609
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
run: |
mkdir powr/exe_dev.dir
cp src/*.opt powr/exe_dev.dir/.
cp powr/powrconfig ~/.powrconfig
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def inject_path(set_vars):
powrconfig_file = set_vars / ".powrconfig"
with open(powrconfig_file, "w") as f:
f.write(powrconfig)
os.system("cp ${POWR_WORK}/.powrconfig ${HOME}/.powrconfig")
os.system("echo ${HOME}")


@pytest.fixture(scope="session")
Expand Down

0 comments on commit 831c609

Please sign in to comment.