-
Notifications
You must be signed in to change notification settings - Fork 30
44 lines (37 loc) · 1.12 KB
/
test_development.yaml
File metadata and controls
44 lines (37 loc) · 1.12 KB
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
38
39
40
41
42
43
44
name: Unit testing and Integration testing [development]
on:
push:
branches:
- development
pull_request:
types: [opened, synchronize]
workflow_dispatch:
inputs:
branch:
required: true
description: 'Branch'
default: 'development'
jobs:
build:
name: build and publish
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Build
uses: docker/setup-buildx-action@v1
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Checkout code
uses: actions/checkout@v2
with:
repository: prancer-io/cloud-validation-framework
ref: ${{ github.head_ref }}
token: ${{ secrets.GIT_TOKEN }}
- name: testing
run: |
# docker run --rm -v $(pwd):$(pwd) -w=$(pwd) python:3.6.8 sh dev-test.sh
docker run --rm -v $(pwd):$(pwd) -w=$(pwd) python:3.8 sh dev-test.sh
docker run --rm -v $(pwd):$(pwd) -w=$(pwd) python:3.9 sh dev-test.sh