Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfried-huss authored and airwoodix committed Mar 3, 2023
1 parent 6ad3e1a commit 7131735
Show file tree
Hide file tree
Showing 12 changed files with 3,170 additions and 194 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/docs.yml

This file was deleted.

86 changes: 0 additions & 86 deletions .github/workflows/main.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/poetry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Tests
on:
push:
branches: [ master, 'stable/*' ]
pull_request:
branches: [ master, 'stable/*' ]
jobs:
tests:
name: tests-python${{ matrix.python-version }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# TODO: restore full test matrix before merging into public repository
# python-version: [3.7, 3.8, 3.9, '3.10']
# os: ["macOS-latest", "ubuntu-latest", "windows-latest"]
python-version: [3.8]
poetry-version: [1.3.2]
os: ["ubuntu-latest"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Installing
run: poetry install
- name: Linting
run: poetry run poe pylint
- name: Type checking
run: poetry run poe mypy
- name: Testing
run: poetry run poe test
- name: Docs
run: poetry run poe docs
Loading

0 comments on commit 7131735

Please sign in to comment.