Lab 3 CI Workflow #3
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: Lab 3 CI Workflow | |
| on: | |
| push: | |
| branches: [ main, feature/lab3 ] | |
| workflow_dispatch: | |
| jobs: | |
| system-info: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Task 1 - Hello World | |
| run: echo "The pipeline is working" | |
| - name: Task 2 - System Information | |
| run: | | |
| echo "=== OS Information ===" | |
| uname -a | |
| echo "=== CPU Information ===" | |
| nproc | |
| lscpu | grep "Model name" | |
| echo "=== Memory Information ===" | |
| free -h | |
| echo "=== Disk Space ===" | |
| df -h | |
| echo "=== GitHub Runner Details ===" | |
| echo "Runner OS: ${{ runner.os }}" | |
| echo "Workflow: ${{ github.workflow }}" |