Skip to content

Add unit tests for symbol-related features #317

Add unit tests for symbol-related features

Add unit tests for symbol-related features #317

Workflow file for this run

name: Tests
on: [push]
jobs:
test-latest:
name: Test on Linux - Latest
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Install libxcb and libgtk
run: sudo apt-get update; sudo apt-get install --no-install-recommends libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev
if: runner.os == 'linux'
- name: Test
run: make test
test-latest-windows:
name: Test on Windows - Latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Test
run: |
cargo test &&
cargo test --all-features &&
cargo test --no-default-features
test-stable:
name: Test on Linux - 1.75.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.75.0
profile: minimal
override: true
- name: Install libxcb and libgtk
run: sudo apt-get update; sudo apt-get install --no-install-recommends libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev
if: runner.os == 'linux'
- name: Test
run: make test