Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Build
env:
MAJOR: 0
MINOR: 0
PYTHON_VERSION: 3.10.1
PYTHON_VERSION: 3.13.0

#
# Establish when the workflow is run
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
steps:

- name: Checkout out our code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Calculate Build Context
run: |
Expand All @@ -60,7 +60,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}

- name: Establish a cache for dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.local
Expand All @@ -70,17 +70,16 @@ jobs:
- name: Build
run: |
export PYTHONUSERBASE=${HOME}/.local
pip install --user wheel
pip install --user -r requirements.txt
${PYTHONUSERBASE}/bin/pylint ${GITHUB_WORKSPACE}/mrmat_python_api_flask
PYTHONPATH=${GITHUB_WORKSPACE} python -m pytest --cov=mrmat_python_api_flask
PYTHONPATH=${GITHUB_WORKSPACE} python -m build --wheel -n
pip install --user -r requirements.txt -r requirements.dev.txt
PYTHONPATH=${GITHUB_WORKSPACE}/src pytest
PYTHONPATH=${GITHUB_WORKSPACE}/src python -m build --wheel -n

- name: Upload test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: Test and Coverage

path: |
build/junit.xml
build/coverage.xml
Expand Down
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,6 @@ coverage.xml
.pytest_cache/
pytestdebug.log

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
Expand Down Expand Up @@ -245,6 +241,3 @@ dmypy.json
.prof

# End of https://www.toptal.com/developers/gitignore/api/jetbrains,python


.coverage
5 changes: 4 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 4 additions & 12 deletions .idea/mrmat-python-api-flask.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/pylint.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 0 additions & 25 deletions .idea/runConfigurations/client.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .idea/runConfigurations/cui.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .idea/runConfigurations/db_current.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .idea/runConfigurations/db_downgrade.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .idea/runConfigurations/db_revision.xml

This file was deleted.

30 changes: 0 additions & 30 deletions .idea/runConfigurations/docker__nostromo_.xml

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading