Skip to content

fixed DTR endpoint #316

fixed DTR endpoint

fixed DTR endpoint #316

Workflow file for this run

name: Digital Object Gate Django webservices CI Workflow
on: [push]
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
env:
DOGLIB_VERSION: "1.0.1"
PYCURL_SSL_LIBRARY: openssl
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: "3.10.7"
- name: Update package manager
run: |
sudo apt-get update
pip install wheel
- name: Install DOGlib
run: |
sudo apt-get install libxml2-dev libxslt-dev libssl-dev libcurl4-openssl-dev
git clone --depth 1 --branch ${{ env.DOGLIB_VERSION }} https://github.com/clarin-eric/DOGlib.git
pip install ./DOGlib -r ./DOGlib/requirements.txt
- name: Install DOG applications
run: |
pip install django-cors-headers
pip install djangorestframework
pip install django-rest-swagger
pip install drf-yasg
pip install ./dogapi
- name: Test app
run: |
echo "$PWD"
ls
python ./runtests.py