Skip to content

Run CI tests in a container #1123

Run CI tests in a container

Run CI tests in a container #1123

Workflow file for this run

name: CI Linux
"on":
push:
pull_request:
types: [opened, reopened]
jobs:
build:
runs-on: ubuntu-latest
container:
image: debian:latest
steps:
- name: Install dependencies
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y --no-install-recommends build-essential curl ca-certificates libssl-dev libgtk-4-dev xvfb
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build --verbose
- name: Run tests
run: xvfb-run cargo test --verbose -- --nocapture
env:
RUST_BACKTRACE: 1