Skip to content

chore: update ubuntu distro for tests #162

chore: update ubuntu distro for tests

chore: update ubuntu distro for tests #162

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
analysis:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8']
steps:
- uses: actions/checkout@v2
- 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
pip install -r requirements.txt
pip install -r requirements.dev.txt
- name: flake8
run: |
flake8 .
- name: black
run: |
black --check .
e2e:
runs-on: ubuntu-latest
needs:
- analysis
strategy:
matrix:
python-version: ['2.x', '3.6', '3.7', '3.8', '3.9', '3.10.0-beta.4']
steps:
- uses: actions/checkout@v2
- 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
pip install -r requirements.txt
- name: Unit Test
run: |
python test_is_even.py