Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Add job to test with pre-release dependencies, including Mesa #218

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/build_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@ jobs:
matrix:
os: [windows, ubuntu, macos]
python-version: ["3.12"]
name: [""]
include:
- os: ubuntu
python-version: "3.11"
- os: ubuntu
python-version: "3.10"
# Disabled for now. See https://github.com/projectmesa/mesa/issues/1253
#- os: ubuntu
# python-version: 'pypy-3.8'
- os: ubuntu
python-version: "3.12"
pip-pre: "--pre" # Installs pre-release versions of pip dependencies
name: "Pre-release dependencies" # Mainly to test Mesa pre-releases

steps:
- uses: actions/checkout@v4
Expand All @@ -54,9 +56,9 @@ jobs:
run: pip install uv
- name: Install Mesa-Geo
# See https://github.com/astral-sh/uv/issues/1945
run: uv pip install --system .[dev]
run: uv pip install --system .[dev] ${{ matrix.pip-pre }}
- name: Test with pytest
run: pytest --durations=10 --cov=mesa_geo tests/ --cov-report=xml
- if: matrix.os == 'ubuntu'
name: Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v4
Loading