forked from miLibris/flask-rest-jsonapi
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: cleanup build, removed setup.py, shouldn't be needed any more
- Loading branch information
Showing
5 changed files
with
22 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
name: tests | ||
name: Run tests | ||
|
||
|
||
on: | ||
push: | ||
|
@@ -9,8 +10,8 @@ on: | |
|
||
|
||
jobs: | ||
|
||
run_tests: | ||
|
||
strategy: | ||
matrix: | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | ||
|
@@ -20,16 +21,20 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: "📦 set up 🐍 ${{ matrix.python-version }}" | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
cache-dependency-path: pyproject.toml | ||
|
||
- name: "📦 ensure latest 🐍 pip" | ||
run: python -m pip install --upgrade pip | ||
|
||
- name: "📦 ensure 🐍 wheel" | ||
run: pip install wheel | ||
|
||
- name: "📦 install flask-rest-jsonoapi-next" | ||
run: pip install .[tests] | ||
|
||
|
@@ -43,12 +48,21 @@ jobs: | |
- name: "run tests with coverage 🔹 🐍 3.9" | ||
if: ${{ matrix.python-version == '3.9'}} | ||
run: coverage run -m pytest | ||
|
||
- name: "coverage report 🔹 🐍 3.9" | ||
if: ${{ matrix.python-version == '3.9'}} | ||
run: coverage report | ||
|
||
- name: "generate coverage xml 🔹 🐍 3.9" | ||
if: ${{ matrix.python-version == '3.9'}} | ||
run: coverage xml | ||
run: coverage xml -i | ||
|
||
- name: "generate coverage report 🔹 🐍 3.9" | ||
if: ${{ matrix.python-version == '3.9'}} | ||
run: coverage report | ||
|
||
- name: "upload coverage to codecov.io 🔹 🐍 3.9" | ||
if: ${{ matrix.python-version == '3.9'}} | ||
uses: codecov/codecov-action@v3 | ||
uses: codecov/[email protected] | ||
with: | ||
file: ./coverage.xml |
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 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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# CHANGELOG | ||
|
||
## 0.4.0 (unreleased) | ||
|
||
## 0.34.7 (fork-0.34.7) (2023-06-28) | ||
|
||
- fix: missing import | ||
|
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