Skip to content

Adding Security-Compliance Branch Build and Tagging Support (#1048) #1351

Adding Security-Compliance Branch Build and Tagging Support (#1048)

Adding Security-Compliance Branch Build and Tagging Support (#1048) #1351

Workflow file for this run

name: Tests
on:
push:
branches:
- "master"
- "stable"
pull_request:
branches:
- "master"
- "stable"
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
env:
PIPENV_CHECK: "1"
PGPORT: "5433"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip codecov flake8
- name: Run flake8
run: |
flake8 vmaas/
- name: Run tests
run: |
docker-compose -f docker-compose.test.yml up --build --exit-code-from test