Skip to content

replaced travis ci with github actions #1

replaced travis ci with github actions

replaced travis ci with github actions #1

Workflow file for this run

name: Test Drs-filer API Endpoints
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Build and run Docker Compose
run: docker-compose up --build -d
- name: Wait for the services to be ready
run: |
echo "Waiting for the services to be ready..."
sleep 30 # Wait for 30 seconds to ensure the services are up
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest requests
- name: Test with pytest
run: |
pytest tests/test.py -v -p no:warnings
env:
DRS_FILER_URL: http://localhost:8080/ga4gh/drs/v1