ci: add check for unit tests

This commit is contained in:
Danielhu 2023-08-31 00:53:38 +08:00
parent aa9544a03e
commit f834b72373
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: cargo build --verbose - run: cargo build --verbose
- run: cargo test update_package_version -- 1.0.0 --nocapture - run: cargo test update_package_version -- 1.0.0 --nocapture
- run: cargo test
build-dotnet: build-dotnet:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 10 timeout-minutes: 10

View File

@ -18,6 +18,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: cargo build --verbose - run: cargo build --verbose
- run: cargo test update_package_version -- ${{ inputs.tag }} --nocapture - run: cargo test update_package_version -- ${{ inputs.tag }} --nocapture
- run: cargo test
- run: | - run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]" git config --local user.name "github-actions[bot]"