Skip to content

Commit

Permalink
Add develop branch to CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
brunato committed Mar 4, 2022
1 parent 0faaf11 commit 650b97c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test-elementpath.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: elementpath

on: [push, pull_request]
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]

jobs:
build:
Expand All @@ -9,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10", pypy37]
python-version: [3.7, 3.8, 3.9, "3.10", "pypy-37"]
exclude:
- os: macos-latest
python-version: 3.7
Expand All @@ -23,7 +27,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install additional development libraries for building lxml
if: ${{ matrix.os == 'ubuntu-latest' && (matrix.python-version == '3.10' || matrix.python-version == 'pypy37') }}
if: ${{ matrix.os == 'ubuntu-latest' && (matrix.python-version == '3.10' || matrix.python-version == 'pypy-37') }}
run: sudo apt-get update && sudo apt-get install libxml2-dev libxslt-dev python-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand All @@ -38,7 +42,7 @@ jobs:
pip install flake8
flake8 elementpath --max-line-length=100 --statistics
- name: Lint with mypy
if: ${{ matrix.python-version != 'pypy37' }}
if: ${{ matrix.python-version != 'pypy-37' }}
run: |
pip install mypy==0.931
mypy --show-error-codes elementpath
Expand Down

0 comments on commit 650b97c

Please sign in to comment.