new version 2.3.1 (#509) #1632
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
name: CI | |
# Controls when the action will run. | |
on: | |
pull_request: | |
branches: | |
- develop | |
- master | |
paths-ignore: | |
- 'VERSION' | |
- 'docs/source/changelog.rst' | |
push: | |
branches: | |
- develop | |
- master | |
paths-ignore: | |
- 'VERSION' | |
- 'docs/source/changelog.rst' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
pipeline: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Run lint | |
run: | | |
python3 -m pip install --upgrade pip | |
pip3 install .[lint] | |
flake8 . | |
- name: Run tests | |
run: | | |
test="true" docker compose up --build --exit-code-from test |