Skip to content

Commit

Permalink
Merge pull request #249 from stringertheory/update_ci
Browse files Browse the repository at this point in the history
Update ci
  • Loading branch information
stringertheory authored Feb 3, 2024
2 parents 01feb02 + 4afd5b3 commit 8e983cb
Show file tree
Hide file tree
Showing 48 changed files with 2,784 additions and 1,934 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ workflows:
jobs:
test-3.6: &test-template
docker:
- image: circleci/python:3.6-buster
- image: circleci/python:3.6-buster
filters:
branches:
only:
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
* Simplicity is better than functionality
* The API matters most, everything else is secondary
- Simplicity is better than functionality
- The API matters most, everything else is secondary

For feature requests, please include a description of why the feature
will be useful to most users.
8 changes: 4 additions & 4 deletions .github/actions/setup-poetry-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: "setup-poetry-env"
description: "Composite action to setup the Python and poetry environment."

inputs:
python-version:
required: false
description: "The python version to use"
default: "3.11"
python-version:
required: false
description: "The python version to use"
default: "3.11"

runs:
using: "composite"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ["3.8", "3.9", "3.10", "3.11"]
fail-fast: false
steps:
- name: Check out
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/on-release-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
branches: [main]

jobs:

publish:
runs-on: ubuntu-latest
steps:
Expand All @@ -28,7 +27,7 @@ jobs:
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}

deploy-docs:
needs: publish
runs-on: ubuntu-latest
Expand All @@ -41,4 +40,3 @@ jobs:

- name: Deploy documentation
run: poetry run mkdocs gh-deploy --force

3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Changelog
=========
# Changelog
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ check: ## Run code quality tools.
@poetry check --lock
@echo "🚀 Linting code: Running pre-commit"
@poetry run pre-commit run -a
@echo "🚀 Static type checking: Running mypy"
@poetry run mypy
# @echo "🚀 Static type checking: Running mypy"
# @poetry run mypy

.PHONY: test
test: ## Test the code with pytest
Expand Down
38 changes: 0 additions & 38 deletions Pipfile

This file was deleted.

Loading

0 comments on commit 8e983cb

Please sign in to comment.