Skip to content

Commit

Permalink
Update github actions, Python and Jax versions
Browse files Browse the repository at this point in the history
  • Loading branch information
timmens committed Feb 13, 2024
1 parent d5b7879 commit 2e7d472
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
9 changes: 1 addition & 8 deletions .envs/testenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ dependencies:
- setuptools_scm
- toml

# Package dependencies
- dags
- jax>=0.4.10
- jaxlib>=0.4.10
- numpy
- pandas

# Testing dependencies
- scipy
- pybaum
Expand All @@ -24,6 +17,6 @@ dependencies:
- pytest-cov
- pytest-xdist

# Install lcm locally
# Install lcm and its dependencies locally
- pip:
- -e ../
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,15 @@ jobs:
environment-file: ./.envs/testenv.yml
environment-name: lcm
cache-environment: true
create-args: >
extra-specs: |
create-args: >-
python=${{ matrix.python-version }}
- name: run pytest
shell: bash -l {0}
run: |
micromamba activate lcm
pytest --cov-report=xml --cov=./
- name: Upload coverage report.
if: runner.os == 'Linux' && matrix.python-version == '3.10'
if: runner.os == 'Linux' && matrix.python-version == '3.11'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Install pypa/build
run: >-
python -m
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ keywords =
packages = find:
install_requires =
dags
jax>=0.3.0
jaxlib>=0.3.0
jax>=0.4.10
jaxlib>=0.4.10
numpy
pandas
python_requires = >=3.10
python_requires = >=3.11
include_package_data = True
package_dir =
=src
Expand Down

0 comments on commit 2e7d472

Please sign in to comment.