-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from MauriceBrg/ft-more-tests
Tests, Pipelines, Bugfixes
- Loading branch information
Showing
13 changed files
with
473 additions
and
90 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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Dash-Cognito-Auth | ||
|
||
on: | ||
push: | ||
branches: ["*"] | ||
# pull_request: | ||
# branches: [master] | ||
|
||
# Trigger on release, this will cause the upload to Pypi | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
cross_platform_tests: | ||
runs-on: ${{ matrix.os }} | ||
environment: end-2-end-tests | ||
env: | ||
COGNITO_DOMAIN: ${{ secrets.COGNITO_DOMAIN }} | ||
COGNITO_EMAIL: ${{ secrets.COGNITO_EMAIL }} | ||
COGNITO_OAUTH_CLIENT_ID: ${{ secrets.COGNITO_OAUTH_CLIENT_ID }} | ||
COGNITO_OAUTH_CLIENT_SECRET: ${{ secrets.COGNITO_OAUTH_CLIENT_SECRET }} | ||
COGNITO_PASSWORD: ${{ secrets.COGNITO_PASSWORD }} | ||
COGNITO_REGION: ${{ secrets.COGNITO_REGION }} | ||
COGNITO_USER_NAME: ${{ secrets.COGNITO_USER_NAME }} | ||
strategy: | ||
matrix: | ||
os: [macos-latest, windows-latest, ubuntu-latest] | ||
pythonVersion: ["3.10", "3.11", "3.12"] | ||
|
||
# MacOS / Windows Runners consume more minutes, we restrict | ||
# those to the minimum supported Python version | ||
exclude: | ||
- os: macos-latest | ||
pythonVersion: 3.11 | ||
- os: macos-latest | ||
pythonVersion: 3.12 | ||
- os: windows-latest | ||
pythonVersion: 3.11 | ||
- os: windows-latest | ||
pythonVersion: 3.12 | ||
|
||
fail-fast: true | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.pythonVersion }} | ||
|
||
- name: Install dev dependencies | ||
run: pip install -r requirements.txt -r requirements-dev.txt | ||
|
||
- name: Run Tests | ||
run: python -m pytest tests |
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 |
---|---|---|
|
@@ -103,3 +103,6 @@ ENV/ | |
|
||
# PyCharm | ||
.idea/ | ||
|
||
.local/ | ||
.vscode/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pytest | ||
requests | ||
beautifulsoup4 | ||
python-dotenv |
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,6 +1 @@ | ||
dash>=0.41.0 | ||
dash-core-components>=0.46.0 | ||
dash-html-components>=0.15.0 | ||
Flask>=1.0.2 | ||
Flask-Dance>=1.2.0 | ||
six | ||
-e . |
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.