Skip to content

Commit

Permalink
Full clone for setuptools_scm in github actions (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
berland authored Apr 27, 2020
1 parent d5c95bd commit e354fa2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/fmu-ensemble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
- name: Checkout commit locally
uses: actions/checkout@v2

- name: Checkout tags
# This seems necessary for setuptools_scm to be able to infer
# the correct version.
run: git fetch --unshallow --tags

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
Expand All @@ -39,7 +44,7 @@ jobs:
- name: Install test dependencies
run: pip install .[tests]

- name: List all installed packages
run: pip freeze

Expand All @@ -51,7 +56,7 @@ jobs:
run: |
python -c "import fmu.ensemble"
pytest tests/
pip install .[parquet]
pip install .[parquet]
pytest tests/test_virtualensemble.py
sphinx-apidoc -H "API for fmu.ensemble" -o ./docs ./src/fmu
python setup.py build_sphinx
Expand Down

0 comments on commit e354fa2

Please sign in to comment.