Skip to content

Some E2E testing

Some E2E testing #8

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
run-python-e2e-tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache
uses: actions/[email protected]
with:
path: |
~/.cargo
target
key: build-${{ runner.os }}
restore-keys: |
build-${{ runner.os }}
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: pip
- run: pip install -r requirements.txt
- run: mkdir tests/markdown_files
- name: Run dev Custard in background
run: cargo run -- 4000 tests/markdown_files
# - name: Wait for Custard
# run: sleep 1
# - name: Run Python test(s)
# run: pytest tests/python