Skip to content

Commit

Permalink
UPDATE CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
vectornguyen76 committed Aug 18, 2023
1 parent d3b5c98 commit ec2344a
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/development_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Cache Python dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
# - name: Cache Python dependencies
# uses: actions/cache@v2
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
# restore-keys: |
# ${{ runner.os }}-pip-

- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
# - name: Set up Python 3.9
# uses: actions/setup-python@v2
# with:
# python-version: 3.9

- name: Install Python dependencies
run: python -m pip install -r requirements.txt
# - name: Install Python dependencies
# run: python -m pip install -r requirements.txt

- name: Run pylint
run: |
cd image-search-engine
pylint service.py --disable=R,C,W1203
# - name: Run pylint
# run: |
# cd image-search-engine
# pylint app.py --disable=R,C,W1203

- name: Login to Docker Hub
id: docker_hub_auth
Expand Down

0 comments on commit ec2344a

Please sign in to comment.