Repository navigation
CI.YML1 #5
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: CI Pipeline # Workflow name (shows in GitHub UI) | |
| on: [push, pull_request] # When to run this workflow | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo "Building..." | |
| test: | |
| needs: build # Wait for build to complete | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo "Testing..." | |
| deploy: | |
| needs: [build, test] # Wait for both build and test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo "Deploying..." | |