Skip to content

Commit

Permalink
Merge pull request yt-project#98 from chrishavlin/update_deps
Browse files Browse the repository at this point in the history
Update dependency organization, build-test action
  • Loading branch information
matthewturk authored Oct 25, 2023
2 parents eabc294 + aad8596 commit 539ce8f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 52 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,14 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- name: Install dependencies
- name: Install osmesa
run: |
sudo apt-get update && sudo apt-get upgrade
sudo apt install libgl1-mesa-dri libegl1-mesa libgbm1 libosmesa6 libosmesa6-dev
python -m pip install --upgrade pip
python -m pip install pytest
if [ -f tests/test_requirements.txt ]; then python -m pip install -r tests/test_requirements.txt; fi
python -m pip install --upgrade numpy PyOpenGL_accelerate
sudo apt-get install libosmesa6-dev
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Setup yt_idv
run: |
python -m pip install -e .
run: python -m pip install -e .[test]
- name: Run Tests
env:
PYOPENGL_PLATFORM: osmesa
Expand Down
14 changes: 4 additions & 10 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,12 @@ console_scripts =
[options.extras_require]
dev =
Sphinx==1.8.5
black==19.10b0
bump2version==0.5.11
coverage==4.5.4
flake8==3.7.8
isort==5.6.4
pytest>=6.2.4
pytest-html==3.1.1
pytest-runner==5.1
tox==3.14.0
twine==1.14.0
watchdog==0.9.0
wheel==0.33.6
test =
PyOpenGL-accelerate
pytest>=6.2.4
pytest-html

[bdist_wheel]
universal = 1
Expand Down
14 changes: 0 additions & 14 deletions tests/test_requirements.txt

This file was deleted.

20 changes: 0 additions & 20 deletions tox.ini

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit 539ce8f

Please sign in to comment.