Skip to content

Add coroutine type and conformance test #591

Add coroutine type and conformance test

Add coroutine type and conformance test #591

Workflow file for this run

name: Check
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
CI: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: Swatinem/rust-cache@v2
- name: setup toolchain
uses: hecrj/setup-rust-action@v2
with:
rust-version: stable
components: rustfmt, clippy
# Required for compatibility tests
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Build
run: cargo build
- name: Run tests
env:
RUST_BACKTRACE: 1
run: cargo test
- name: rustfmt
run: make format-check
- name: clippy
run: make lint
# coverage:
# name: coverage
# runs-on: ubuntu-latest
# container:
# image: xd009642/tarpaulin:develop-nightly
# options: --security-opt seccomp=unconfined
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - name: Generate code coverage
# run: |
# cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
# - name: Upload to codecov.io
# uses: codecov/codecov-action@v4
# with:
# token: ${{secrets.CODECOV_TOKEN}}
# fail_ci_if_error: false