Skip to content

mrspence/docker-pytest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-pytest

Simple Docker image to run pytest on python (3.8) code.

Usage

Single run via CLI

Navigate to your project directory and then...

Git Bash (Windows)

docker run -ti -v "/$PWD:/usr/src/app/" mrspence/pytest

Bash

docker run -ti -v "$PWD:/usr/src/app/" mrspence/pytest

Docker Compose

In docker-compose.yml

version: '3'
services:
  test:
    image: mrspence/pytest
    volumes:
      - "./:/usr/src/app/"

Then, in your terminal:

docker-compose run test

About

Docker image to run pytest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published