diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 070bcec..88feae1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -39,7 +39,7 @@ jobs: steps: - name: Checkout out our code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Calculate Build Context run: | @@ -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 @@ -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 diff --git a/.gitignore b/.gitignore index ba552da..0557764 100644 --- a/.gitignore +++ b/.gitignore @@ -159,10 +159,6 @@ coverage.xml .pytest_cache/ pytestdebug.log -# Translations -*.mo -*.pot - # Django stuff: *.log local_settings.py @@ -245,6 +241,3 @@ dmypy.json .prof # End of https://www.toptal.com/developers/gitignore/api/jetbrains,python - - -.coverage diff --git a/.idea/misc.xml b/.idea/misc.xml index 4ea37de..a376666 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,9 @@ - + + + \ No newline at end of file diff --git a/.idea/mrmat-python-api-flask.iml b/.idea/mrmat-python-api-flask.iml index 6334ba1..371ef45 100644 --- a/.idea/mrmat-python-api-flask.iml +++ b/.idea/mrmat-python-api-flask.iml @@ -1,24 +1,16 @@ - + + - - - - - - - - - - + - + diff --git a/.idea/pylint.xml b/.idea/pylint.xml index 161503e..46ea4e7 100644 --- a/.idea/pylint.xml +++ b/.idea/pylint.xml @@ -1,7 +1,6 @@ - \ No newline at end of file diff --git a/.idea/runConfigurations/client.xml b/.idea/runConfigurations/client.xml deleted file mode 100644 index cda8dbe..0000000 --- a/.idea/runConfigurations/client.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/cui.xml b/.idea/runConfigurations/cui.xml deleted file mode 100644 index bd5122a..0000000 --- a/.idea/runConfigurations/cui.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/db_current.xml b/.idea/runConfigurations/db_current.xml deleted file mode 100644 index 8d98a8d..0000000 --- a/.idea/runConfigurations/db_current.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/db_downgrade.xml b/.idea/runConfigurations/db_downgrade.xml deleted file mode 100644 index e7c88f0..0000000 --- a/.idea/runConfigurations/db_downgrade.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/db_revision.xml b/.idea/runConfigurations/db_revision.xml deleted file mode 100644 index 6ac4b7c..0000000 --- a/.idea/runConfigurations/db_revision.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/docker__nostromo_.xml b/.idea/runConfigurations/docker__nostromo_.xml deleted file mode 100644 index 94c0d6f..0000000 --- a/.idea/runConfigurations/docker__nostromo_.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/db_upgrade.xml b/.idea/runConfigurations/lint.xml similarity index 72% rename from .idea/runConfigurations/db_upgrade.xml rename to .idea/runConfigurations/lint.xml index 7bff3b9..a1db76a 100644 --- a/.idea/runConfigurations/db_upgrade.xml +++ b/.idea/runConfigurations/lint.xml @@ -1,11 +1,11 @@ - + +