diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 30c7c47f..1407ff2f 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -1,20 +1,26 @@ -name: Rust +name: Laminar CI on: push: - branches: - - master - + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + jobs: - test: + build: + name: Running on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] + steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Build run: cargo build --verbose - name: Run tests - run: cargo test --verbose + run: cargo test --verbose \ No newline at end of file