Sf validations #284
Workflow file for this run
This file contains hidden or 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
| name: RunAI Model Streamer Library - Pull Request | |
| on: | |
| pull_request: | |
| jobs: | |
| lifecycle-install-tests: | |
| name: Test, Build & Push | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set PACKAGE_VERSION | |
| run: echo "PACKAGE_VERSION=0.0.0+dev.$(git rev-parse --short HEAD)" >> $GITHUB_ENV | |
| - name: Run tests and build | |
| uses: devcontainers/ci@v0.3 | |
| with: | |
| runCmd: | | |
| make test && \ | |
| PACKAGE_VERSION=${{ env.PACKAGE_VERSION }} make build | |
| - name: Upload streamer package to github action | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: runai_model_streamer | |
| path: py/runai_model_streamer/dist/* | |
| if-no-files-found: error | |
| - name: Upload s3 streamer package to github action | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: runai_model_streamer_s3 | |
| path: py/runai_model_streamer_s3/dist/* | |
| if-no-files-found: error | |
| - name: Upload GCS streamer package to github action | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: runai_model_streamer_gcs | |
| path: py/runai_model_streamer_gcs/dist/* | |
| if-no-files-found: error |