added debug for path #53
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: DataTracks Connection Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| run-rust-and-java-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Current Repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Checkout Rust Application Repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| repository: 'data-tracks/DataTracks' | |
| path: 'app' | |
| - name: Set up Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| profile: minimal | |
| override: true | |
| - name: Run DataTracks | |
| run: | | |
| cd app | |
| cargo run --package data_tracks --bin data_tracks & | |
| - name: Wait for API Url Action | |
| uses: Hardsix/action-wait-for-api@v2.0.2 | |
| with: | |
| url: "http://localhost:2666/status" | |
| expected-response-field: "status" | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Run Tests | |
| run: | | |
| gradle test |