Skip to content

test requirements

test requirements #32

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build and run with Docker Compose
run: |
docker-compose up -f "dev/docker/docker-compose.yml" -d --build --abort-on-container-exitup
- name: Run PyTest
run: |
pip install -r requirements.txt
- name: Run PyTest
run: |
pytest tests/test_mock_db.py --data-path=data/metadata/mini