Skip to content

Commit

Permalink
ci: fix test_image script
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiruha01 committed Jul 15, 2024
1 parent bcb5dea commit a18b940
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/test_image
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -ex

PROJECT_NAME=smartapp-template

python -m copier --defaults . smartapp-template
python -m copier copy --defaults --trust . smartapp-template
docker build -t $PROJECT_NAME $PROJECT_NAME

# there should be added `--fail` option to curl command when healthcheck endpoint is added
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:

- name: Install copier
run: |
pip install copier==7.1.0
pip install copier==9.3.1
pip install copier-templates-extensions
pip install pyyaml-include==1.4.1
# hardcode pydantic version to avoid dependency conflict with copier
pip install pydantic==1.10.2
# pip install pydantic==1.10.2
- name: Test image
env:
Expand Down Expand Up @@ -93,12 +93,12 @@ jobs:

- name: Install copier
run: |
pip install copier==7.1.0
pip install copier==9.3.1
pip install copier-templates-extensions
pip install pyyaml-include==1.4.1
# hardcode pydantic version to avoid dependency conflict with copier
pip install pydantic==1.10.2
python -m copier --defaults . async-box-bot
# pip install pydantic==1.10.2
python -m copier copy --defaults --trust . async-box-bot
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand Down Expand Up @@ -148,12 +148,12 @@ jobs:

- name: Install copier
run: |
pip install copier==7.1.0
pip install copier==9.3.1
pip install copier-templates-extensions
pip install pyyaml-include==1.4.1
# hardcode pydantic version to avoid dependency conflict with copier
pip install pydantic==1.10.2
python -m copier --defaults . async-box-bot
# pip install pydantic==1.10.2
python -m copier copy --defaults --trust . async-box-bot
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand Down

0 comments on commit a18b940

Please sign in to comment.