From 693f44fc3416e2dcb55832bdf1a1ed381ad74c1f Mon Sep 17 00:00:00 2001 From: Danilo Guanabara Date: Sun, 1 Sep 2024 16:31:33 -0300 Subject: [PATCH] Attempt to fix Ubuntu workflow --- .github/workflows/checks.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 521dbc2d..221d748c 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -15,7 +15,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, macOS-latest, ubuntu-latest] # + os: [windows-latest, macOS-latest] steps: - uses: actions/checkout@v2 - name: All targets checks @@ -26,3 +26,18 @@ jobs: run: cargo test --workspace --doc - name: All features for all targets tests run: cargo test --workspace --all-targets --all-features + ubuntu-test: + name: Test on ubuntu-latest + runs-on: ubuntu-latest + steps: + - name: Install system dependencies + run: sudo apt-get update && sudo apt-get install -y libatk1.0-dev librust-atk-dev + - uses: actions/checkout@v2 + - name: All targets checks + run: cargo check --workspace --all-targets + - name: Clippy checks + run: cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::all + - name: Documentation tests + run: cargo test --workspace --doc + - name: All features for all targets tests + run: cargo test --workspace --all-targets --all-features