Skip to content

Commit 368994d

Browse files
committed
Reindent yaml
1 parent dcafea0 commit 368994d

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

.github/workflows/main.yml

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -33,57 +33,57 @@ jobs:
3333
ignore-test-outcome: false
3434

3535
steps:
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v3
3737

38-
- name: Set up Python ${{ matrix.python-version }}
39-
uses: actions/setup-python@v4
40-
id: setup-python
41-
with:
42-
python-version: ${{ matrix.python-version }}
38+
- name: Set up Python ${{ matrix.python-version }}
39+
uses: actions/setup-python@v4
40+
id: setup-python
41+
with:
42+
python-version: ${{ matrix.python-version }}
4343

44-
- name: Install poetry
45-
run: |
46-
python -m pip install poetry==1.8.3
44+
- name: Install poetry
45+
run: |
46+
python -m pip install poetry==1.8.3
4747
48-
- name: Configure poetry
49-
run: |
50-
python -m poetry config virtualenvs.in-project true
48+
- name: Configure poetry
49+
run: |
50+
python -m poetry config virtualenvs.in-project true
5151
52-
- name: Cache the virtualenv
53-
id: poetry-dependencies-cache
54-
uses: actions/cache@v3
55-
with:
56-
path: ./.venv
57-
key: ${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
52+
- name: Cache the virtualenv
53+
id: poetry-dependencies-cache
54+
uses: actions/cache@v3
55+
with:
56+
path: ./.venv
57+
key: ${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
5858

59-
- name: Install dev dependencies
60-
if: steps.poetry-dependencies-cache.outputs.cache-hit != 'true'
61-
run: |
62-
python -m poetry install --only=dev
59+
- name: Install dev dependencies
60+
if: steps.poetry-dependencies-cache.outputs.cache-hit != 'true'
61+
run: |
62+
python -m poetry install --only=dev
6363
64-
- name: Type checking
65-
# Ignore errors for older pythons
66-
continue-on-error: ${{ matrix.ignore-typecheck-outcome }}
67-
run: |
68-
source .venv/bin/activate
69-
tox -e mypy
64+
- name: Type checking
65+
# Ignore errors for older pythons
66+
continue-on-error: ${{ matrix.ignore-typecheck-outcome }}
67+
run: |
68+
source .venv/bin/activate
69+
tox -e mypy
7070
71-
- name: Test with tox
72-
continue-on-error: ${{ matrix.ignore-test-outcome }}
73-
run: |
74-
source .venv/bin/activate
75-
coverage erase
76-
tox run-parallel -f ${{ matrix.toxfactor }} --parallel-no-spinner --parallel-live
77-
coverage combine
78-
coverage xml
71+
- name: Test with tox
72+
continue-on-error: ${{ matrix.ignore-test-outcome }}
73+
run: |
74+
source .venv/bin/activate
75+
coverage erase
76+
tox run-parallel -f ${{ matrix.toxfactor }} --parallel-no-spinner --parallel-live
77+
coverage combine
78+
coverage xml
7979
80-
- uses: codecov/codecov-action@v4
81-
with:
82-
# Explicitly using the token to avoid Codecov rate limit errors
83-
# See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
84-
token: ${{ secrets.CODECOV_TOKEN }}
85-
fail_ci_if_error: false
86-
verbose: true # optional (default = false)
80+
- uses: codecov/codecov-action@v4
81+
with:
82+
# Explicitly using the token to avoid Codecov rate limit errors
83+
# See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
84+
token: ${{ secrets.CODECOV_TOKEN }}
85+
fail_ci_if_error: false
86+
verbose: true # optional (default = false)
8787

8888
pypi-publish:
8989
name: Upload release to PyPI

0 commit comments

Comments
 (0)