From b0bbf999f96d824a5bb5ce2a28ec571f5dd3352f Mon Sep 17 00:00:00 2001 From: Tpt Date: Thu, 6 Aug 2020 22:05:53 +0200 Subject: [PATCH] Fixes CI configuration --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0b3ac23..a7e4b518 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: submodules: true - run: rustup update - run: cargo build - - run: cargo test --verbose --all --all-features --exclude oxigraph_python + - run: cargo test --verbose --all --all-features --exclude pyoxigraph env: RUST_BACKTRACE: 1 @@ -50,11 +50,11 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.5 - - run: python -m venv python/tests/venv - - run: source python/tests/venv/bin/activate && pip install --upgrade pip maturin sphinx - - run: source tests/venv/bin/activate && maturin develop + - run: python -m venv python/venv + - run: source python/venv/bin/activate && pip install --upgrade pip maturin sphinx + - run: source venv/bin/activate && maturin develop working-directory: ./python - - run: source venv/bin/activate && python -m unittest + - run: source ../venv/bin/activate && python -m unittest 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