-
Notifications
You must be signed in to change notification settings - Fork 639
39 lines (38 loc) · 1017 Bytes
/
utils_test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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/actions-poetry@v2.0.0
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