[IN] Support for mocking interfaces #4
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: oop.zig Unit Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| execute_unit_tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: 'recursive' | |
| - name: Install ZVM | |
| shell: bash | |
| run: | | |
| curl https://raw.githubusercontent.com/tristanisham/zvm/master/install.sh | bash | |
| - name: Execute tests | |
| shell: bash | |
| run: | | |
| export PATH="$HOME/.zvm/bin:$PATH" | |
| ./install_zig_with_zvm.sh | |
| zig build test --summary all |