Merge pull request #254 from megagonlabs/develop #10
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: pytest | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
pytest: | |
name: Run tests with pytest | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7, 3.8] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Upgrade pip | |
run: >- | |
python -m | |
pip install -U pip | |
- name: Install dependencies | |
run: >- | |
python -m | |
pip install . pytest pytest-mock ja-ginza ja-ginza-electra | |
- name: Run Tests | |
run: pytest |