Skip to content

Commit dd2f82c

Browse files
authored
Merge pull request #62 from fuzzylite/development
🚀 pyfuzzylite 8.0.0 🚀
2 parents 5684da3 + db1a672 commit dd2f82c

File tree

622 files changed

+90671
-2059369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

622 files changed

+90671
-2059369
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: fuzzylite

.github/pull_request_template.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Requirements
2+
- [ ] `HISTORY` file is updated
3+
- [ ] Code is tested
4+
- [ ] Documentation is updated

.github/workflows/build.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [main, development]
6+
pull_request:
7+
branches: [main, development, feature/*]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
python-version: ["3.9"] #, "3.7", "3.8", "3.9", "3.10"]
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
25+
- name: Install requirements
26+
run: pip install -r requirements.txt
27+
28+
- name: Check
29+
run: nox -e check
30+
31+
- name: Install
32+
run: nox -e install
33+
34+
- name: Lint
35+
run: nox -e lint
36+
37+
- name: Test
38+
run: nox -e test
39+
40+
- name: Documentation
41+
run: nox -e docs
42+
43+
- name: Coverage
44+
uses: coverallsapp/github-action@v2
45+
46+
- name: Benchmark
47+
uses: CodSpeedHQ/action@v1
48+
with:
49+
token: ${{ secrets.CODSPEED_TOKEN }}
50+
run: nox -e benchmark -- codspeed

.github/workflows/publish.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
#pull_request: # test-only
9+
#branches: [ main, development, feature/* ] # test-only
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
environment:
15+
name: release
16+
#name: test-release # test-only
17+
url: https://pypi.org/p/pyfuzzylite
18+
19+
permissions:
20+
contents: write
21+
id-token: write
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: Set up Python
27+
uses: actions/setup-python@v4
28+
with:
29+
python-version: "3.9"
30+
31+
- name: Install requirements
32+
run: pip install -r requirements.txt
33+
34+
- name: Build
35+
run: poetry build
36+
37+
- name: Publish
38+
uses: pypa/gh-action-pypi-publish@v1.8.10
39+
#with:
40+
# repository-url: https://test.pypi.org/legacy/ # test-only
41+
42+
- name: Install development dependencies for documentation
43+
run: poetry install --only dev
44+
45+
- name: Publish documentation
46+
run: nox -e docs -- publish

.github/workflows/python-package.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)