diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 0000000000..1168bd9ad8 --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,39 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: Python application + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: "3.10" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install flake8 pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Lint with flake8 + run: | + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Test with pytest + run: | + pytest diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index f57e19dc40..ebfe711f5d 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -13,7 +13,7 @@ jobs: update: runs-on: ubuntu-latest steps: - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 + - uses: actions/checkout@v5 with: submodules: true fetch-depth: 0 diff --git a/vendor/metaharness b/vendor/metaharness index e0dfd44da7..1dc8f00977 160000 --- a/vendor/metaharness +++ b/vendor/metaharness @@ -1 +1 @@ -Subproject commit e0dfd44da72b7adfb7c57fdd42d124be58ed7086 +Subproject commit 1dc8f009771c763c9b37d04d17e7bd8a9ec7feba diff --git a/vendor/midstream b/vendor/midstream index abe78d62da..4a9c6d9790 160000 --- a/vendor/midstream +++ b/vendor/midstream @@ -1 +1 @@ -Subproject commit abe78d62daa3b83844547f8ccbd2c283b0444d28 +Subproject commit 4a9c6d97904fe070d80407508e20d9db8ffc4fe3 diff --git a/vendor/rufield b/vendor/rufield index b74bc035e4..82ffc26761 160000 --- a/vendor/rufield +++ b/vendor/rufield @@ -1 +1 @@ -Subproject commit b74bc035e4a3d4023665aa5479b41e938facd113 +Subproject commit 82ffc267617c59b91d32f7fcfc77896988fd0012 diff --git a/vendor/ruvector b/vendor/ruvector index 46d816ddc4..0539f2b7b6 160000 --- a/vendor/ruvector +++ b/vendor/ruvector @@ -1 +1 @@ -Subproject commit 46d816ddc4c2a8a06cd3613534a79b1d557d858b +Subproject commit 0539f2b7b605feb3f2c4b8b17135d41a23163059 diff --git a/vendor/rvcsi b/vendor/rvcsi index 3e1bdbdb3a..ee47a7abe5 160000 --- a/vendor/rvcsi +++ b/vendor/rvcsi @@ -1 +1 @@ -Subproject commit 3e1bdbdb3a6e2a35c3e5019e083135f7abea7188 +Subproject commit ee47a7abe58a6a24e1af73a4f2d0a7683fd0818c diff --git a/vendor/sublinear-time-solver b/vendor/sublinear-time-solver index 6ef45761e9..b945e269ea 160000 --- a/vendor/sublinear-time-solver +++ b/vendor/sublinear-time-solver @@ -1 +1 @@ -Subproject commit 6ef45761e9a27029cf968322b3967364499e3b5d +Subproject commit b945e269ea1a910d0d7ce6e3eea4aa2ecf4aa191