fix syntax #177
Workflow file for this run
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
name: Continuous Integration | |
# alwas run CI on new commits to any branch | |
on: push | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pre-commit/[email protected] | |
build: | |
name: build | |
needs: [lint] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
# 'driver: docker' allows one build to re-use images from a prior build | |
# ref: https://github.com/docker/setup-buildx-action/issues/251 | |
driver: docker | |
install: true | |
use: true | |
- name: Build notebook image | |
run: | | |
make notebook-image | |
- name: Build cluster image | |
run: | | |
make cluster-image | |
- name: Build profiling image | |
run: | | |
make profiling-image | |
all-tests-successful: | |
if: always() | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
- lint | |
steps: | |
- name: Decide whether the needed jobs succeeded or failed | |
uses: re-actors/[email protected] | |
with: | |
jobs: ${{ toJSON(needs) }} |