Skip to content

Tests

Tests #1415

Workflow file for this run

name: Tests
on:
push:
pull_request:
schedule:
- cron: '0 3 * * *' # Daily.
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- beta
- nightly
- 1.58.0
fail-fast: false
steps:
- uses: actions/checkout@v2
- run: xvfb-run chromedriver --port=4444 --disable-gpu --no-sandbox --disable-dev-shm-usage &
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: test
env:
RUSTFLAGS: --cfg frontend_test