Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rht committed Nov 17, 2023
1 parent eb7d439 commit a3cd871
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,13 @@ jobs:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('Pipfile.lock') }}
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-pip-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}
- name: todo
if: steps.cache.outputs.cache-hit != 'true'
run: pip install wheel && pip install click cookiecutter matplotlib mesa_viz_tornado~=0.1.0,>=0.1.3 networkx numpy pandas solara tqdm black ruff~=0.1.1 coverage pytest>=4.6 pytest-cov sphinx
- name: Install dependencies
run: pip install wheel && pip install .[dev]
run: pip install install --no-deps .[dev]
- name: Test with pytest
run: pytest --cov=mesa tests/ --cov-report=xml
- if: matrix.os == 'ubuntu'
Expand Down

0 comments on commit a3cd871

Please sign in to comment.