Skip to content

Commit

Permalink
style: update yml indentation based on vs code default formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Oct 17, 2023
1 parent 016ef78 commit f024e9b
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 46 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: '3.10'
python-version: "3.10"
architecture: x64
- uses: abatilo/actions-poetry@v2.1.4
with:
poetry-version: '1.1.13'
poetry-version: "1.1.13"
- run: poetry build
- run: poetry publish
env:
Expand Down
58 changes: 29 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,41 +10,41 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.10', '3.9', '3.8', '3.7']
extras: ['', all, soap_api, orjson, cli]
python-version: ["3.10", "3.9", "3.8", "3.7"]
extras: ["", all, soap_api, orjson, cli]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: '${{ matrix.python-version }}'
architecture: x64
- uses: abatilo/actions-poetry@v2.1.4
with:
poetry-version: '1.1.13'
- run: poetry install --extras ${{ matrix.extras }}
if: matrix.extras != ''
- run: poetry install
if: matrix.extras == ''
- run: poetry run pytest -v
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: "${{ matrix.python-version }}"
architecture: x64
- uses: abatilo/actions-poetry@v2.1.4
with:
poetry-version: "1.1.13"
- run: poetry install --extras ${{ matrix.extras }}
if: matrix.extras != ''
- run: poetry install
if: matrix.extras == ''
- run: poetry run pytest -v

style:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ["3.10"]
extras: [all]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: '${{ matrix.python-version }}'
architecture: x64
- uses: abatilo/actions-poetry@v2.1.4
with:
poetry-version: '1.1.13'
- run: poetry install --extras ${{ matrix.extras }}
- run: poetry run flake8
- run: poetry run mypy --ignore-missing-imports .
- run: poetry run isort --check --diff .
- run: poetry run black --check --diff .
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: "${{ matrix.python-version }}"
architecture: x64
- uses: abatilo/actions-poetry@v2.1.4
with:
poetry-version: "1.1.13"
- run: poetry install --extras ${{ matrix.extras }}
- run: poetry run flake8
- run: poetry run mypy --ignore-missing-imports .
- run: poetry run isort --check --diff .
- run: poetry run black --check --diff .
26 changes: 13 additions & 13 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
code_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: '3.10'
architecture: x64
- uses: abatilo/actions-poetry@v2.1.4
with:
poetry-version: '1.1.13'
- run: poetry install --extras all
- run: poetry run pytest --cov=netsuite --cov-report=xml --cov-report=term
- uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: "3.10"
architecture: x64
- uses: abatilo/actions-poetry@v2.1.4
with:
poetry-version: "1.1.13"
- run: poetry install --extras all
- run: poetry run pytest --cov=netsuite --cov-report=xml --cov-report=term
- uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: '3.9'
python-version: "3.9"
architecture: x64
- uses: abatilo/actions-poetry@v2.1.4
with:
poetry-version: '1.1.13'
poetry-version: "1.1.13"
- run: poetry install --extras all
- run: poetry run mkdocs build
- uses: peaceiris/actions-gh-pages@v3.7.3
Expand Down

0 comments on commit f024e9b

Please sign in to comment.