Skip to content

replaced all mentions of PDB-Dev with PDB-IHM; pdb-dev.wwpdb.org link… #220

replaced all mentions of PDB-Dev with PDB-IHM; pdb-dev.wwpdb.org link…

replaced all mentions of PDB-Dev with PDB-IHM; pdb-dev.wwpdb.org link… #220

Workflow file for this run

# only pytest tests
name: test
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.8]
include:
- os: macos-latest
python-version: 3.8
runs-on: ${{ matrix.os }}
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 pytest-cov pytest pytest-flake8
pip install -r dependencies.txt
- name: Validate version
run: python --version
- name: Run simple python code
run: python -c 'import math; print(math.factorial(5))'
- name: Test with pytest
run: |
python -m pytest --rootdir tests
- name: Test with flake8
run: |
pip install flake8
flake8 master/pyext/src/validation --ignore=E501,W504,W503,E226,F401,E241