working with velocity #167
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: utils_test | |
on: | |
push: | |
paths-ignore: | |
- '**/README.md' | |
- 'docs/**/*' | |
- 'cloud/**/*' | |
pull_request: | |
paths-ignore: | |
- '**/README.md' | |
- 'docs/**/*' | |
- 'cloud/**/*' | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.8] | |
poetry-version: [1.3.1] | |
os: [ubuntu-22.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run image | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- name: Install test dependencies | |
run: poetry install -E pytest | |
- name: Install cloud dependencies | |
run: poetry install -E "pytest cloud" | |
- name: Downgrade setuptools | |
run: poetry run pip install setuptools==59.5.0 | |
- name: Run utils tests | |
run: poetry run pytest tests/test_utils.py |