Skip to content

Revise and improve the documentation (Vq and PyVq) #20

Revise and improve the documentation (Vq and PyVq)

Revise and improve the documentation (Vq and PyVq) #20

Workflow file for this run

name: Run Tests
on:
workflow_dispatch:
workflow_call:
pull_request:
branches:
- main
paths-ignore:
- '**.md'
- '.github/**'
- 'pyvq/**'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# Define the Rust versions to test against
rust-version: [ "1.85.0", "stable", "beta"]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Rust ${{ matrix.rust-version }}
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust-version }}
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y make
make install-deps
- name: Run Tests and Generate Coverage Report
run: make coverage
- name: Upload Coverage Reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
continue-on-error: false