hpcflow / install-scripts

Scripts to install pyinstaller folder version on a local machine.
0 stars 0 forks source link

Add GitHub actions to test install scripts #39

Closed cjfullerton closed 1 year ago

cjfullerton commented 1 year ago

There is no testing for install scripts. We should add some, for Powershell in particular.

### Tasks
- [x] GHA for Linux integration test
- [x] GHA for MacOS integration test
- [x] GHA for Powershell integration test
- [x] Windows script gets name of artifact from script output
- [ ] https://github.com/hpcflow/install-scripts/issues/44
cjfullerton commented 1 year ago

Basic Linux workflow which executes script. Need to add a check for exit status or try running built in tests on installed artifact?

cjfullerton commented 1 year ago

This test should reflect default command in docs.

cjfullerton commented 1 year ago

Now runs test suite on installed artifact. Needed to run directly as couldn't use source .bashrc to get symlinks. Need a way to get filename of installed artifact.

cjfullerton commented 1 year ago

Workflows work on Linux, macOS, Windows/powershell.

Windows workflow needs to be able to get name of installed artifact - save script output and pull it from this.

Check if script can be run on modern and classic versions of powershell on a GHA runner.