Skip to content

Commit

Permalink
update python
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-h committed Sep 15, 2024
1 parent bc6bb2e commit ab7172c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/java_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
pipcache: ~\AppData\Local\pip\Cache
name: Build on ${{ matrix.os }} with Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
with:
Expand Down Expand Up @@ -50,10 +50,10 @@ jobs:
~/oaei_track_cache
key: ${{ runner.os }}-oaei
- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
# TODO: the latest pytorch version is only available for 3.9 and not yet in 3.10 - replace it with 3.x if it is available
python-version: '3.10'
python-version: '3.11'
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Install python dependencies
run: pip install -r ./matching-ml/src/main/resources/requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/java_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false # this is required for the javadoc deploy plugin
- name: Set up JDK 8
Expand Down Expand Up @@ -35,10 +35,10 @@ jobs:
~/.cache/huggingface
key: ${{ runner.os }}-transformers-models
- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
# TODO: the latest pytorch version is only available for 3.9 and not yet in 3.10 - replace it with 3.x if it is available
python-version: '3.10'
python-version: '3.11'
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Install python dependencies
run: pip install -r ./matching-ml/src/main/resources/requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/java_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false # this is required for the javadoc deploy plugin
- name: Set up JDK 17
Expand All @@ -29,10 +29,10 @@ jobs:
~/.cache/pip
key: ${{ runner.os }}-python-${{ hashFiles('**/requirements.txt') }}-1
- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
# TODO: the latest pytorch version is only available for 3.9 and not yet in 3.10 - replace it with 3.x if it is available
python-version: '3.10'
python-version: '3.11'
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Install python dependencies
run: pip install -r ./matching-ml/src/main/resources/requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
python-version: ['3.11', '3.12']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down

0 comments on commit ab7172c

Please sign in to comment.