diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f92b3b3..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.11.0 + PYTHON_VERSION: 3.13.0 # # Establish when the workflow is run @@ -39,12 +39,12 @@ jobs: steps: - name: Checkout out our code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Calculate Build Context run: | MRMAT_VERSION="${MAJOR}.${MINOR}.${GITHUB_RUN_NUMBER}" - if [ "$GITHUB_EVENT_NAME" == 'pull_request_target' -a "$GITHUB_BASE_REF" == 'main' ]; then + if [ "$GITHUB_EVENT_NAME" == 'pull_request_target' && GITHUB_BASE_REF == 'main']; then MRMAT_IS_RELEASE=true echo "::warning ::Building release ${MRMAT_VERSION}" echo "MRMAT_IS_RELEASE=true" >> $GITHUB_ENV @@ -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 @@ -69,16 +69,17 @@ jobs: - name: Build run: | - pip install --user -r requirements.txt - pylint ${GITHUB_WORKSPACE}/src/python/mrmat_python_api_flask - PYTHONPATH=${GITHUB_WORKSPACE}/src/python python -m pytest - python -m build --wheel -n + export PYTHONUSERBASE=${HOME}/.local + 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/.idea/misc.xml b/.idea/misc.xml index 71f34c9..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 38dee3a..371ef45 100644 --- a/.idea/mrmat-python-api-flask.iml +++ b/.idea/mrmat-python-api-flask.iml @@ -1,24 +1,16 @@ - + + - - - - - - - - - - + - + 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 594b644..0000000 --- a/.idea/runConfigurations/db_current.xml +++ /dev/null @@ -1,40 +0,0 @@ - -<<<<<<<< HEAD:.idea/runConfigurations/build.xml - -======== - ->>>>>>>> develop:.idea/runConfigurations/db_current.xml - - - \ 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/db_upgrade.xml b/.idea/runConfigurations/db_upgrade.xml deleted file mode 100644 index 7bff3b9..0000000 --- a/.idea/runConfigurations/db_upgrade.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/lint.xml b/.idea/runConfigurations/lint.xml index ed038d7..a1db76a 100644 --- a/.idea/runConfigurations/lint.xml +++ b/.idea/runConfigurations/lint.xml @@ -1,6 +1,7 @@ +