Skip to content

Merge pull request #17 from awslabs/dependabot/npm_and_yarn/cicd/babe… #38

Merge pull request #17 from awslabs/dependabot/npm_and_yarn/cicd/babe…

Merge pull request #17 from awslabs/dependabot/npm_and_yarn/cicd/babe… #38

Workflow file for this run

# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
name: Continuous Integration
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Analysing the code with pylint
run: |
pylint artifacts libs tests *.py
- name: Testing the code with pytest
run: |
pytest --junit-xml=junit.xml --cov=artifacts --cov=.