Skip to content

Commit

Permalink
Merge pull request #11 from keyhr/develop
Browse files Browse the repository at this point in the history
CI test for develop branch.
  • Loading branch information
keyhr authored Jan 28, 2022
2 parents 4b61fa2 + d53dc8f commit 01dad29
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/python-package-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: CI-Dev

on:
push:
branches: [ develop ]
paths-ignore:
- 'License'
- 'README.md'
pull_request:
branches: [ develop ]
paths-ignore:
- 'License'
- 'README.md'

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]

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
python -m pip install -r requirements-dev.txt
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install -e .
- name: Lint with flake8
run: |
flake8 c_formatter_42
- name: Test with pytest
run: |
pytest -vvv
- name: Static type checking with mypy
run: |
mypy c_formatter_42

0 comments on commit 01dad29

Please sign in to comment.