Skip to content

Development

Development #227

Workflow file for this run

name: Unit testing and Integration testing
on:
pull_request:
types: [opened, synchronize]
branches:
- 'master'
workflow_dispatch:
inputs:
branch:
required: true
description: 'Branch'
default: 'master'
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