Skip to content

Adding has_edits Flag to YRoomMessage #21

Adding has_edits Flag to YRoomMessage

Adding has_edits Flag to YRoomMessage #21

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Run Python ${{ matrix.python-version }} tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.10", "3.11"] # Empty string will trigger a build with the latest python version
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
default: true
- name: Install Dependencies
run: python3 -m pip install pytest y_py maturin
- name: Build and install package
run: |
maturin build
python3 -m pip install ./target/wheels/*.whl
- name: Run Tests
run: pytest