pyIPAM - Docker Plugin for IPAM written in Python
Jacek Kowalski
2020-05-22 40a1f97aa6f7ef85c73fcf942f7872b61c64a0fd
commit | author | age
659253 1 name: Test
JK 2
3 on:
4   pull_request:
5   push:
6     branches:
7       - '**'
8
9 jobs:
10   unit_test:
11     name: Unit tests
12     runs-on: ubuntu-latest
13     steps:
14       - name: Checkout code
15         uses: actions/checkout@v2
16
17       - name: Set up Python
18         uses: actions/setup-python@v1
19         with:
20           python-version: 3.x
21
22       - name: Install dependencies
23         run: |
24           pip install -r requirements.txt
25
26       - name: Run tests
27         run: |
28           ./test_unittest.sh
29
30   integration_test:
31     name: Integration tests
32     runs-on: ubuntu-latest
33     env:
34       VERSION: dev
35       VERSIONS: dev
36     steps:
37       - name: Checkout code
38         uses: actions/checkout@v2
39
40       - name: Prepare Docker plugin
41         run: |
42           ./package.sh
43
44       - name: Run integration tests
45         run: |
46           ./test_integration.sh