From f45fdbe3a31dd9b4c0226cbf063b29a60f6cadcd Mon Sep 17 00:00:00 2001 From: Jake <37048747+Jacob-Stevens-Haas@users.noreply.github.com> Date: Mon, 22 Jan 2024 00:20:17 +0000 Subject: [PATCH] CI: Fix doc and test jobs --- .github/workflows/main.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0c4e883..32d73fd 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -36,14 +36,13 @@ jobs: sudo apt-get update -y sudo apt-get install pandoc sudo apt-get update -y - pip install -e .[doc] + pip install -e .[dev] - name: Build docs run: | cd docs python -m sphinx -TEWb html -d _build/doctrees . _build/html Tests: - needs: Linting runs-on: ubuntu-latest strategy: max-parallel: 4 @@ -61,12 +60,7 @@ jobs: pip install .[dev] - name: Test with pytest run: | - coverage run --source=mitosis -m pytest test && coverage xml - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml + coverage run --source=mitosis -m pytest mitosis/tests && coverage xml - uses: actions/cache@v3 with: path: ~/.cache/pip