Brett Langdon 5 years ago
committed by GitHub
parent
commit
f9891ee558
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions
  1. +2
    -0
      .github/workflows/build.yml
  2. +6
    -0
      .github/workflows/test.yml

+ 2
- 0
.github/workflows/build.yml View File

@ -37,6 +37,8 @@ jobs:
with:
python-version: 3.9
- run: pip install "poetry~=1.1.4"
- run: poetry config experimental.new-installer false
name: Disable new installer
- run: poetry check
- run: poetry install
- run: poetry build --format sdist


+ 6
- 0
.github/workflows/test.yml View File

@ -23,6 +23,8 @@ jobs:
with:
python-version: "3.9"
- run: pip install "poetry~=1.1.4"
- run: poetry config experimental.new-installer false
name: Disable new installer
- run: poetry install
- run: poetry run mypy --py2 sysaudit/ tests/
name: Mypy Check Python2
@ -39,6 +41,8 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- run: pip install "poetry~=1.1.4"
- run: poetry config experimental.new-installer false
name: Disable new installer
- run: poetry check
- run: poetry install
- run: poetry run pytest tests/
@ -51,6 +55,8 @@ jobs:
with:
python-version: "3.9"
- run: pip install "poetry~=1.1.4"
- run: poetry config experimental.new-installer false
name: Disable new installer
- run: poetry install
- run: poetry run sphinx-build -a -W -n -E docs/ docs/_build
- uses: actions/upload-artifact@v2


Loading…
Cancel
Save