-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Poetry for package management and Nox in github actions (#34)
* use poetry, changes to noxfile * set extension version from pyproject.toml * refactor docs build, add docs build noxfile session * add mypy session, add dev-requirements.txt, cleanup * add actions to run nox * fix inputs name * fix inputs name * better run name * fix test runs * change naming * use environment files for github output * allow 3.10 3.11 for all nox sessions * add pull request trigger, remove unneeded poetry work around * add release action, remove unneeded actions * fix docs-build session name * naming changes, test dist download * dist download works, only do it on release * Add ref name to release run * move mypy config to pyproject.toml * update dependencies * update readme * restrict python version in pyproject.toml * remove mypy-check script * ignore poetry.lock to always use latest version on ci, remove unnecessary pytest.ini * update extension version, update python version spec * add checks with pytket pre-release if pre-release exists * print versions found * fix pre-release tests, use github token with lastversion * upload coverage data * upload coverage data * run tests on push to develop * add job that checks that all jobs succeeded * Run release prep on pull requests * Update .github/workflows/release.yml Co-authored-by: cqc-melf <[email protected]> * Update pyproject.toml Co-authored-by: cqc-melf <[email protected]> * Update pyproject.toml Co-authored-by: cqc-melf <[email protected]> * Add email for author * In nox-session workflow use pytket pre-release per default * update dependabot.yml * update README.md * update changelog * fix changelog * use rc version --------- Co-authored-by: cqc-melf <[email protected]>
- Loading branch information
Showing
48 changed files
with
934 additions
and
717 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
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 |
---|---|---|
|
@@ -9,25 +9,25 @@ jobs: | |
name: Create Jira issue | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Login | ||
uses: atlassian/[email protected] | ||
env: | ||
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | ||
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | ||
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | ||
- name: Create Bug | ||
uses: atlassian/[email protected] | ||
if: contains(github.event.issue.labels.*.name, 'bug') | ||
with: | ||
project: TKET | ||
issuetype: Bug | ||
summary: « [pytket-aqt] ${{ github.event.issue.title }}» | ||
description: ${{ github.event.issue.html_url }} | ||
- name: Create Task | ||
uses: atlassian/[email protected] | ||
if: "! contains(github.event.issue.labels.*.name, 'bug')" | ||
with: | ||
project: TKET | ||
issuetype: Task | ||
summary: « [pytket-aqt] ${{ github.event.issue.title }}» | ||
description: ${{ github.event.issue.html_url }} | ||
- name: Login | ||
uses: atlassian/[email protected] | ||
env: | ||
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | ||
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | ||
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | ||
- name: Create Bug | ||
uses: atlassian/[email protected] | ||
if: contains(github.event.issue.labels.*.name, 'bug') | ||
with: | ||
project: TKET | ||
issuetype: Bug | ||
summary: « [pytket-aqt] ${{ github.event.issue.title }}» | ||
description: ${{ github.event.issue.html_url }} | ||
- name: Create Task | ||
uses: atlassian/[email protected] | ||
if: "! contains(github.event.issue.labels.*.name, 'bug')" | ||
with: | ||
project: TKET | ||
issuetype: Task | ||
summary: « [pytket-aqt] ${{ github.event.issue.title }}» | ||
description: ${{ github.event.issue.html_url }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.