Added Lab1 & Lab2 files and disabled bot commits #12
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: Build and Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| run: sudo apt-get update && sudo apt-get install -y make gcc gcovr build-essential | |
| - name: Build | |
| run: | | |
| cd Lab1 | |
| make all | |
| - name: Run unit tests | |
| run: | | |
| cd Lab1 | |
| ./Lab1 | |
| - name: Run unit tests | |
| run: | | |
| cd Lab2 | |
| ./Lab2 |