Prepare release 1.7.0 (#127) #362
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test-templates: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Set up python | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: ".python-version" | |
cache: 'pip' | |
architecture: x64 | |
- name: install dependencies | |
run: pip install -r requirements.txt | |
- name: install dev dependencies | |
run: pip install -r dev-requirements.txt | |
- name: flake8 and black | |
run: | | |
flake8 tests | |
black --check tests | |
- name: run tests | |
run: pytest tests |