reordered css files to follow current pdb-dev style #165
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |