Skip to content

Merge pull request #66 from sroet/rework_numpy_include #18

Merge pull request #66 from sroet/rework_numpy_include

Merge pull request #66 from sroet/rework_numpy_include #18

Workflow file for this run

name: Run unit tests in docker container
on:
# This workflow triggers on push or pull requests to master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# This allows running workflow manually from Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository with submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build docker image
run: docker build -t pytom .
- name: Run tests inside the container
run: docker run -w /app/tests/ pytom "python -m unittest discover"