Skip to content

Commit

Permalink
Set up python in all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanHCenalmor committed Sep 3, 2024
1 parent fc49457 commit 828e6dd
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build_docker_images_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
steps:
- name: Clone DL4MicEverywhere repository
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip' # caching pip dependencies
- name: Install requirements
run: pip install -r .tools/requirements.txt
- name: Update all the configurations
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build_docker_images_aux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@ jobs:
uses: actions/checkout@v4
- name: Update the repository with git pull
run: git pull
- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip' # caching pip dependencies
- name: Install requirements
run: pip install -r .tools/requirements.txt
- name: Update the version of the notebook on the configuration
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/build_docker_images_new_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
steps:
- name: Clone DL4MicEverywhere repository
uses: actions/checkout@v4
# Set up Python for its use
- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip' # caching pip dependencies

# First udpate the configuration file
- name: Install requirements
Expand Down Expand Up @@ -316,6 +321,10 @@ jobs:
uses: actions/checkout@v4
- name: Update the repository with git pull
run: git pull
- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip' # caching pip dependencies
- name: Install requirements
run: pip install -r .tools/requirements.txt
- name: Update the version of the notebook on the configuration
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/build_docker_images_pushed_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ jobs:
steps:
- name: Clone DL4MicEverywhere repository
uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip' # caching pip dependencies
- name: Install requirements
run: pip install -r .tools/requirements.txt
- name: Update the docker_tag on the configuration
Expand Down

0 comments on commit 828e6dd

Please sign in to comment.