Skip to content

Fix parallel env-sensitive tests #28

Fix parallel env-sensitive tests

Fix parallel env-sensitive tests #28

Workflow file for this run

name: CI
on:
push:
branches:
- main
- dev
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
pkg-config \
libxkbcommon-dev \
libwayland-dev \
libfontconfig-dev \
libexpat1-dev \
libfreetype6-dev
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: cargo fmt
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --all-features --all-targets -- -D warnings
- name: cargo test
run: cargo test --all