fix over eager v2 demotions #5
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: Unit Tests | |
on: | |
push: | |
branches: [ main, develop, "release/**" ] | |
pull_request: | |
branches: [ main, develop, "release/**" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
path: ./repos/${{ secrets.REPO_NAME }} | |
ref: ${{ github.ref }} | |
# Install Protocol Buffers Compiler | |
- name: Install Protobuf Compiler (protoc) | |
run: sudo apt-get install -y protobuf-compiler | |
- name: Change to project directory | |
run: cd ./repos/${{ secrets.REPO_NAME }} | |
# Run unit tests | |
- name: Run unit tests | |
run: cargo test --workspace --all-features | |
working-directory: ./repos/${{ secrets.REPO_NAME }} |