diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 63aa100e..d7309681 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -35,6 +35,16 @@ jobs: apt-get update && apt-get install -y curl curl -fsSL https://deb.nodesource.com/setup_22.x | bash - apt-get install -y nodejs + - name: Install system dependencies + run: | + apt-get update && apt-get install -y \ + libwebkit2gtk-4.1-dev \ + libssl-dev \ + libgtk-3-dev \ + libayatana-appindicator3-dev \ + librsvg2-dev \ + libdbus-1-dev \ + pkg-config - name: Install Rust components run: rustup component add rustfmt - name: Install dependencies @@ -67,6 +77,16 @@ jobs: echo "Fetched fallback ref: master" fi git checkout FETCH_HEAD + - name: Install system dependencies + run: | + apt-get update && apt-get install -y \ + libwebkit2gtk-4.1-dev \ + libssl-dev \ + libgtk-3-dev \ + libayatana-appindicator3-dev \ + librsvg2-dev \ + libdbus-1-dev \ + pkg-config - name: Install clippy run: rustup component add clippy - run: cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings @@ -94,6 +114,16 @@ jobs: echo "Fetched fallback ref: master" fi git checkout FETCH_HEAD + - name: Install system dependencies + run: | + apt-get update && apt-get install -y \ + libwebkit2gtk-4.1-dev \ + libssl-dev \ + libgtk-3-dev \ + libayatana-appindicator3-dev \ + librsvg2-dev \ + libdbus-1-dev \ + pkg-config - run: cargo test --manifest-path src-tauri/Cargo.toml -- --test-threads=1 - name: Run shell module tests