Fix #516 - hostname pruning (#517) #1073
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: Test | |
| defaults: | |
| run: | |
| shell: bash | |
| on: | |
| push: | |
| branches: [ main, 'release_*' ] | |
| pull_request: | |
| branches: [ main, 'release_*' ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Display Rust version | |
| run: cargo --version | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Test | |
| run: cargo test --verbose | |
| # many of the shell tests below need jq | |
| - name: Install jq | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y jq | |
| - name: Shell tests | |
| run: | | |
| cd tests | |
| ./run_tests.sh | |
| - name: Output format tests | |
| run: | | |
| cd util | |
| make test |