Skip to content

Commit

Permalink
Merge pull request #11 from ks6088ts/feature/issue-10_support-multi-s…
Browse files Browse the repository at this point in the history
…tage-build

set timeout minutes
  • Loading branch information
ks6088ts authored Mar 19, 2024
2 parents 44e316f + 8f30e17 commit 11749e0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 18 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
jobs:
release:
runs-on: "ubuntu-latest"
timeout-minutes: 5
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
docker:
runs-on: "ubuntu-latest"
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
Expand Down
37 changes: 19 additions & 18 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,33 @@ name: test
on:
push:
branches:
- 'main'
- 'feature/**'
- "main"
- "feature/**"
pull_request:
branches:
- 'main'
- "main"

jobs:
test:
strategy:
matrix:
platform:
- 'ubuntu-latest'
- "ubuntu-latest"
python-version:
- '3.10'
- "3.10"
runs-on: ${{ matrix.platform }}
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Set up Poetry
shell: bash
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Run CI tests
shell: bash
run: |
make ci-test
- uses: actions/checkout@v4
- name: Set up Poetry
shell: bash
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Run CI tests
shell: bash
run: |
make ci-test

0 comments on commit 11749e0

Please sign in to comment.