Skip to content

Commit

Permalink
to fix warning and use jammy (#3679) (#3704)
Browse files Browse the repository at this point in the history
* use ubuntu:jammy instead of focal for docker file

Also switch to Python 3.10 to match the version of python in Jammy.

Signed-off-by: Chen Lihui <[email protected]>
(cherry picked from commit 86bc311)

Co-authored-by: Chen Lihui <[email protected]>
  • Loading branch information
mergify[bot] and Chen Lihui authored Jun 5, 2023
1 parent f84171a commit 0f5ddd6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,36 @@ on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'

- name: Install dependencies with pip
run: pip install --no-warn-script-location --user --upgrade -r requirements.txt

- name: Test doc8
run: make test

build:
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'

- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1

- name: Install dependencies with pip
run: pip install --no-warn-script-location --user --upgrade -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion docker/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# docker build -f docker/image/Dockerfile .

FROM ubuntu:focal
FROM ubuntu:jammy

ARG user=rosindex
ARG uid=1000
Expand Down

0 comments on commit 0f5ddd6

Please sign in to comment.