Fix tests for summarize on multiple files #58
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: build | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package and test imports | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
./tests/import_all.py | |
- name: Install test dependencies | |
run: | | |
pip install pytest | |
- name: Run tests | |
run: | | |
./tests/test.sh | |
- name: Install quality check dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: Run quality checks | |
run: | | |
./tests/check.sh |