update docs #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Environment Setup | |
on: [push, pull_request] | |
jobs: | |
test_environment: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install virtualenv | |
run: | | |
pip install virtualenv | |
- name: Create virtual environment | |
run: | | |
python -m virtualenv env | |
- name: Activate virtual environment | |
run: | | |
cmd /c "env\Scripts\activate" | |
- name: Install requirements | |
run: | | |
pip install -r requirements.txt | |
- name: Build executables with PyInstaller | |
run: | | |
pyinstaller --onefile --distpath . --icon assets\atreus.png src\install.py | |
pyinstaller --onefile --distpath . --icon assets\atreus.png src\trace_registry.py | |
pyinstaller --onefile --distpath . --icon assets\atreus.png src\watchdog.py | |
pyinstaller --onefile --distpath . --icon assets\atreus.png src\trace_executables.py | |
pyinstaller --noconsole --onefile --distpath . --icon assets\atreus.png src\atreus.py | |
- name: Run executables | |
run: | | |
Start-Process -FilePath ".\install.exe" -Verb RunAs | |
Start-Process -FilePath ".\watchdog.exe" -Verb RunAs | |
Start-Process -FilePath ".\trace_registry.exe" -Verb RunAs | |
Start-Process -FilePath ".\trace_executables.exe" -Verb RunAs | |
Start-Process -FilePath ".\atreus.exe" -Verb RunAs |