Skip to content

Commit

Permalink
WIP: Start Migration to New Boilerplate (#143)
Browse files Browse the repository at this point in the history
* WIP: Start Migration to New Version of the Boilerplate

* remove unused files

* WIP: Produce the New Version of the Boilerplate

* update the markdown content
  • Loading branch information
yezz123 authored Apr 16, 2023
1 parent 5789b87 commit 9f7317f
Show file tree
Hide file tree
Showing 58 changed files with 461 additions and 1,476 deletions.
20 changes: 0 additions & 20 deletions .dockerignore

This file was deleted.

2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
custom: ["https://paypal.me/yassertahiri"]
github: yezz123
74 changes: 0 additions & 74 deletions .github/Header.svg

This file was deleted.

34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

2 changes: 0 additions & 2 deletions .github/Secrets Sync Action.yml

This file was deleted.

23 changes: 15 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2

updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
commit-message:
prefix:

# Python
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
interval: "monthly"
commit-message:
prefix:
63 changes: 0 additions & 63 deletions .github/workflows/docker-publish.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint and Format

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
fail-fast: false

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: pip install -e .[lint]
- name: Lint
run: bash scripts/format.sh
27 changes: 0 additions & 27 deletions .github/workflows/lint.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test Suite

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]

jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v3
id: cache
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-test-v02
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pip install -e .[test]
- name: Test with pytest
run: bash scripts/test.sh
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,4 @@ venv.bak/
.mypy_cache/
.vscode/
.idea/
.ruff_cache/
Loading

0 comments on commit 9f7317f

Please sign in to comment.