Skip to content

Commit

Permalink
CI: Fix doc and test jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Jan 22, 2024
1 parent 46ab418 commit f45fdbe
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f45fdbe

Please sign in to comment.