-
Notifications
You must be signed in to change notification settings - Fork 39
37 lines (35 loc) · 973 Bytes
/
integration.yml
File metadata and controls
37 lines (35 loc) · 973 Bytes
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
28
29
30
31
32
33
34
35
36
37
name: integration
on:
push:
branches:
- main
- wip
pull_request:
jobs:
build:
name: ubuntu-py38-integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Set up docker containers
run: |
docker-compose -f "tests/integration_setup/docker-compose.yml" up -d --build
docker ps -a
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install wheel
- name: Install
run: |
python -m pip install --no-cache-dir -r requirements-dev.txt
- name: Run integration tests
run: |
pytest --doctest-modules
pytest docs
- name: Tear down docker containers
run: |
docker-compose -f "tests/integration_setup/docker-compose.yml" down