Skip to content

Commit

Permalink
updated github actions configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmm committed Apr 25, 2024
1 parent 2083ad2 commit 07dfd63
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ jobs:
killall Xvfb
- name: installing dependencies
run: wine ~/.wine/drive_c/users/runner/AppData/Local/Programs/Python/Python312/python.exe -m pip install pyside6 numpy scipy
run: wine ~/.wine/drive_c/users/runner/AppData/Local/Programs/Python/Python312/python.exe -m pip install pyside6 numpy scipy pyinstaller

- name: creating the executable
run: wine cmd < gen_win_exe.bat

# on a pull_request event in github actions, the tests are not run on the head branch of the PR, rather they are run on the merge commit of head merged into the base branch
# this means the latest commit in github actions, which is used for build artifact names is a commit that does not exist in the repository
Expand Down
2 changes: 1 addition & 1 deletion gen_win_exe.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
C:\users\wallace\AppData\Local\Programs\Python\Python312\Scripts\pyinstaller wwplot.in ^
C:\users\runner\AppData\Local\Programs\Python\Python312\Scripts\pyinstaller wwplot.in ^
--onefile ^
--hidden-import=numpy.random.common ^
--hidden-import=numpy.random.bounded_integers ^
Expand Down
5 changes: 1 addition & 4 deletions wwplot.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
"less.lint.duplicateProperties": "error",
"less.lint.emptyRules": "error",
"less.lint.ieHack": "error",
"less.lint.zeroUnits": "error",
"python.formatting.autopep8Args": ["--max-line-length=120"],
"python.linting.flake8Enabled": true,
"python.linting.pylintEnabled": false
"less.lint.zeroUnits": "error"
}
}

0 comments on commit 07dfd63

Please sign in to comment.