Fixes CI configuration

pull/46/head
Tpt 5 years ago
parent 2b1ca1b7ec
commit b0bbf999f9
  1. 12
      .github/workflows/build.yml

@ -27,7 +27,7 @@ jobs:
submodules: true submodules: true
- run: rustup update - run: rustup update
- run: cargo build - run: cargo build
- run: cargo test --verbose --all --all-features --exclude oxigraph_python - run: cargo test --verbose --all --all-features --exclude pyoxigraph
env: env:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
@ -50,11 +50,11 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.5 python-version: 3.5
- run: python -m venv python/tests/venv - run: python -m venv python/venv
- run: source python/tests/venv/bin/activate && pip install --upgrade pip maturin sphinx - run: source python/venv/bin/activate && pip install --upgrade pip maturin sphinx
- run: source tests/venv/bin/activate && maturin develop - run: source venv/bin/activate && maturin develop
working-directory: ./python working-directory: ./python
- run: source venv/bin/activate && python -m unittest - run: source ../venv/bin/activate && python -m unittest
working-directory: ./python/tests working-directory: ./python/tests
- run: source venv/bin/activate && sphinx-build -M doctest . build - run: source ../venv/bin/activate && sphinx-build -M doctest . build
working-directory: ./python/docs working-directory: ./python/docs

Loading…
Cancel
Save