summaryrefslogtreecommitdiff
path: root/docker-compose.tests.yml
blob: f433c70f424a1034cd70d14dc5ea5601761ba100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
services:
  test-runner:
    build:
      context: .
      dockerfile: test/Dockerfile
    volumes:
      - .:/rdflib
    working_dir: /rdflib
    command: ["pytest"]

  test-runner-coverage:
    build:
      context: .
      dockerfile: test/Dockerfile
    volumes:
      - .:/rdflib
    working_dir: /rdflib
    command: ["pytest", "--cov"]

  check-types:
    build:
      context: .
      dockerfile: test/Dockerfile
    volumes:
      - .:/rdflib
    working_dir: /rdflib
    command: ["python", "-m", "mypy", "--show-error-context", "--show-error-codes" ,"rdflib"]