Skip to content

[Snyk] Security upgrade python from 3.9-slim to 3.13.0a3-slim #6

[Snyk] Security upgrade python from 3.9-slim to 3.13.0a3-slim

[Snyk] Security upgrade python from 3.9-slim to 3.13.0a3-slim #6

Workflow file for this run

name: CI workflow
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
container: python:3.9-slim
steps:
- name: checkout
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8
run: |
flake8 service --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 service --count --max-complexity=10 --max-line-length=127 --statistics
- name: Run unit tests with nose
run: nosetests -v --with-spec --spec-color --with-coverage --cover-package=app