Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BryonLewis committed Sep 11, 2023
1 parent 5e37b57 commit 7931a75
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 53 deletions.
32 changes: 22 additions & 10 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,35 @@ jobs:
run: yarn build:electron

test-server:
defaults:
run:
working-directory: server
name: Server Tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Update Package References
run: sudo apt-get update
- name: Install system dependencies
run: apt-fast install --no-install-recommends --yes
libgdal30
libgdal-dev
libproj22
python3-cachecontrol
python3-dev
python3-poetry
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install large-image
run: pip install large-image[all] --find-links https://girder.github.io/large_image_wheels
- name: Install gdal
run: pip install gdal --find-links https://girder.github.io/large_image_wheels
- name: Install tox
run: |
python -m pip install --upgrade pip;
pip install tox;
run: pip install tox
- name: Run tests
run: tox
run: tox -e testunit
working-directory: server

49 changes: 9 additions & 40 deletions server/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,15 @@ requests = ">=2.27.1"
urllib3 = "<1.27"
girder-large-image = "^1.17.0"
large-image = "^1.17.0"
large-image-source-pil = "^1.17.0"
simplejpeg = "^1.6.4"
large-image-tasks = "^1.17.0"
large-image-converter = "^1.17.0"
bitarray = "^2.5.1"
large-image-source-pil = "^1.17.0"
large-image-source-gdal = "^1.17.0"
large-image-source-tiff = "^1.17.0"
large-image-source-ometiff = "^1.17.0"
large-image-source-openjpeg = "^1.17.0"
large-image-source-mapnik = "^1.17.0"
[tool.poetry.group.dev.dependencies]
numpy = "^1.21.4"
opencv-python = "^4.5.5"
Expand All @@ -93,7 +92,6 @@ rabbit_user_queues = "rabbitmq_user_queues:GirderPlugin"
[tool.poetry.plugins."girder_worker_plugins"]
dive_tasks = "dive_tasks:DIVEPlugin"


[[tool.poetry.source]]
name = "large-image"
url = "https://girder.github.io/large_image_wheels/"
Expand Down

0 comments on commit 7931a75

Please sign in to comment.