Skip to content

Commit

Permalink
Create virtual env
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTomRixRix committed Aug 21, 2024
1 parent 320e588 commit 7757a79
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/automatic_local_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,23 @@ jobs:

runs-on: self-hosted
steps:
- name: Clean current working directory
run: |
pwd
rm -rf .
- uses: actions/checkout@v2
- name: Activate virtual env
- name: Create and activate virtual env
run: |
source _work/runner-env/bin/activate
pwd
python3 -m venv runner-env
source runner-env/bin/activate
- name: Install simpa
run: |
python -m pip install --upgrade pip
python -m pip install .
- name: Testing
run: |
python simpa_examples/optical_and_acoustic_simulation.py
python simpa_examples/optical_and_acoustic_simulation.py
- name: Deactivate virtual env
run: |
deactivate

0 comments on commit 7757a79

Please sign in to comment.