-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup package with poetry (alpine-quantum-technologies/qiskit-aqt-pro…
- Loading branch information
1 parent
6ad3e1a
commit 7131735
Showing
12 changed files
with
3,170 additions
and
194 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.