Browse Source

install poetry ourselves

pull/5/head
Brett Langdon 5 years ago
parent
commit
823a9ef465
Signed by: brettlangdon GPG Key ID: A70042D88B95AA2B
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      .github/workflows/build.yml
  2. +3
    -3
      .github/workflows/test.yml

+ 1
- 1
.github/workflows/build.yml View File

@ -36,7 +36,7 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.9
- uses: Gr1N/setup-poetry@v4
- run: pip install "poetry~=1.1.4"
- run: poetry check
- run: poetry install
- run: poetry build --format sdist


+ 3
- 3
.github/workflows/test.yml View File

@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: "3.9"
- uses: Gr1N/setup-poetry@v4
- run: pip install "poetry~=1.1.4"
- run: poetry install
- run: poetry run mypy --py2 sysaudit/ tests/
name: Mypy Check Python2
@ -38,7 +38,7 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: Gr1N/setup-poetry@v4
- run: pip install "poetry~=1.1.4"
- run: poetry check
- run: poetry install
- run: poetry run pytest tests/
@ -50,7 +50,7 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: "3.9"
- uses: Gr1N/setup-poetry@v4
- run: pip install "poetry~=1.1.4"
- run: poetry install
- run: poetry run sphinx-build -a -W -n -E docs/ docs/_build
- uses: actions/upload-artifact@v2


Loading…
Cancel
Save