Merge pull request #210 from sunya-ch/base #293
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
pull_request: | |
jobs: | |
changes: | |
runs-on: ubuntu-latest | |
outputs: | |
src: ${{ steps.changes.outputs.src }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
src: | |
- 'dockerfiles/requirements.txt' | |
- 'dockerfiles/Dockerfile.base' | |
- '.github/workflows/unittest.yaml' | |
run-test-cases: | |
runs-on: ubuntu-latest | |
needs: changes | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v3 | |
- name: Build test with base image | |
if: ${{ needs.changes.outputs.src == 'false' }} | |
run: make build-test | |
- name: Build test without base image | |
if: ${{ needs.changes.outputs.src == 'true' }} | |
run: make build-test-nobase | |
- name: Test model server | |
run: make test-model-server | |
- name: Test estimator | |
run: make test-estimator | |
timeout-minutes: 5 | |
- name: Test pipeline | |
run: make test-pipeline | |
- name: Test offline trainer | |
run: make test-offline-trainer |