create djls-ipc crate for communicating with Django process (#17)

This commit is contained in:
Josh Thomas 2024-12-10 18:49:41 -06:00 committed by GitHub
parent f4e473677c
commit a2ebd0dc8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 868 additions and 9 deletions

View file

@ -12,28 +12,32 @@ concurrency:
env:
CARGO_TERM_COLOR: always
FORCE_COLOR: "1"
PYTHONUNBUFFERED: "1"
UV_VERSION: "0.4.x"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
version: ${{ env.UV_VERSION }}
- name: Build
run: cargo build --verbose
- name: Install dependencies and build
run: |
uv sync --frozen
cargo build --verbose
- name: Run tests
run: cargo test --verbose