Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👷 Allow GitHub workflow dispatch to trigger test and deploy #93

Merged
merged 2 commits into from
Jun 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -35,7 +36,7 @@ jobs:
with:
python-version: "3.7"
- name: Install Dependencies
run: python3.7 -m pip install docker pytest
run: python3.7 -m pip install "docker>=4.4.4,<5.0.0" "pytest>=6.2.4,<7.0.0"
- name: Deploy Image
run: bash scripts/build-push.sh
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
pull_request:
types: [opened, synchronize]
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -35,7 +36,7 @@ jobs:
with:
python-version: "3.7"
- name: Install Dependencies
run: python3.7 -m pip install docker pytest
run: python3.7 -m pip install "docker>=4.4.4,<5.0.0" "pytest>=6.2.4,<7.0.0"
- name: Test Image
run: bash scripts/test.sh
env:
Expand Down