Skip to content

Commit

Permalink
Fix issue in build.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <normandf@mila.quebec>
  • Loading branch information
lebrice committed Jul 15, 2024
1 parent 79c0e9f commit 07bf1d2
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 208 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install pre-commit
Expand All @@ -44,15 +44,16 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Test with pytest (CPU)
- name: Run tests (CPU)
env:
JAX_PLATFORMS: cpu
run: poetry run pytest -v --cov=project --cov-report=xml --cov-append
Expand Down
Loading

0 comments on commit 07bf1d2

Please sign in to comment.