Skip to content

Commit

Permalink
Manage python dependencies within workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Boenninghausen committed Sep 13, 2024
1 parent 4876fb9 commit 29b5a75
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/socbed-systemtest-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,10 @@ jobs:
runs-on: [self-hosted, linux]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
ref: dev

- name: Create virtual environment
run: python -m venv /usr/share/runner-dependencies/socbed_env

- name: Activate virtual environment
run: source /usr/share/runner-dependencies/socbed_env/bin/activate

- name: Install requirements in virtual environment (without using cached packages)
run: pip install -r requirements.txt --no-cache-dir
python-version: '3.12'
- run: pip install -r requirements.txt

build-machines:
runs-on: [self-hosted, linux]
Expand Down

0 comments on commit 29b5a75

Please sign in to comment.