Decouple iced_test
from iced
crate
#6757
This file contains 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: Test | |
on: [push, pull_request] | |
jobs: | |
all: | |
runs-on: ${{ matrix.os }} | |
env: | |
RUSTFLAGS: --deny warnings | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
rust: [stable, beta, "1.80"] | |
steps: | |
- uses: hecrj/setup-rust-action@v2 | |
with: | |
rust-version: ${{ matrix.rust }} | |
- uses: actions/checkout@master | |
- name: Install dependencies | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
export DEBIAN_FRONTED=noninteractive | |
sudo apt-get -qq update | |
sudo apt-get install -y libxkbcommon-dev libgtk-3-dev | |
- name: Run tests | |
run: | | |
cargo test --verbose --workspace | |
cargo test --verbose --workspace --all-features |