-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: #121
- Loading branch information
m.kindritskiy
committed
Sep 15, 2024
1 parent
9058f0a
commit e2179a7
Showing
24 changed files
with
976 additions
and
946 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 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 |
---|---|---|
|
@@ -11,38 +11,38 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Set up PDM | ||
run: pip install pdm==2.10.4 | ||
- name: Install dependencies | ||
run: | | ||
pdm sync -d -G test -G dev | ||
pip install tox tox-pdm tox-gh-actions | ||
- name: Run flake8 | ||
if: startsWith(matrix.python-version, '3.7') | ||
run: pdm run flake | ||
- name: Run mypy | ||
if: startsWith(matrix.python-version, '3.7') | ||
run: pdm run mypy | ||
- name: Run black | ||
if: startsWith(matrix.python-version, '3.7') | ||
run: pdm run fmt --check | ||
- name: Run unit tests | ||
run: tox run -- --cov-report=term | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Set up PDM | ||
run: pip install pdm==2.10.4 | ||
- name: Install dependencies | ||
run: | | ||
pdm sync -d -G test -G dev | ||
pip install tox tox-pdm tox-gh-actions | ||
- name: Run flake8 | ||
if: startsWith(matrix.python-version, '3.8') | ||
run: pdm run flake | ||
- name: Run mypy | ||
if: startsWith(matrix.python-version, '3.8') | ||
run: pdm run mypy | ||
- name: Run black | ||
if: startsWith(matrix.python-version, '3.8') | ||
run: pdm run fmt --check | ||
- name: Run unit tests | ||
run: tox run -- --cov-report=term | ||
|
||
federation-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Lets | ||
uses: lets-cli/[email protected] | ||
with: | ||
version: latest | ||
- name: Test federation compatibility | ||
run: timeout 600 lets federation-compatibility-test | ||
- uses: actions/checkout@v3 | ||
- name: Install Lets | ||
uses: lets-cli/[email protected] | ||
with: | ||
version: latest | ||
- name: Test federation compatibility | ||
run: timeout 600 lets federation-compatibility-test |
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
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
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
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
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
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
Oops, something went wrong.