File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,11 @@ jobs:
31
31
with :
32
32
python-version : ${{ matrix.python_version }}
33
33
34
- - name : Install dependencies
34
+ - name : Install dependencies and package
35
35
run : |
36
36
python -m pip install -U pip
37
37
python -m pip install -r dev-requirements.txt
38
-
39
- - name : Install helm-bot
40
- run : |
41
- python setup.py install
38
+ python -m pip install .
42
39
43
40
- name : Run tests
44
41
run : |
Original file line number Diff line number Diff line change 1
- # Use a Python 3.9 slim image
1
+ # Use a Python slim image
2
2
FROM python:3.10.13-slim
3
3
4
4
# Install gcc
@@ -11,8 +11,8 @@ WORKDIR /app
11
11
# Copy repository contents into the working directory
12
12
COPY . /app
13
13
14
- # Upgrade pip and install dependencies
15
- RUN python setup.py install
14
+ # Install package
15
+ RUN pip install .
16
16
17
17
# Set entrypoint
18
18
ENTRYPOINT ["helm-bot" ]
You can’t perform that action at this time.
0 commit comments