diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..ed74b61 --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,26 @@ +name: workload-processor + +# build the documentation whenever there are new commits on main +on: + push: + branches: + - main + # Alternative: only build for tags. + # tags: + # - '*' + +# security: restrict permissions for CI jobs. +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - run: pip install .[all] + - run: pytest diff --git a/.gitignore b/.gitignore index b44b4ad..b398896 100644 --- a/.gitignore +++ b/.gitignore @@ -160,3 +160,4 @@ cython_debug/ #.idea/ update-notebooks.sh +.vim/ diff --git a/setup.cfg b/setup.cfg index b14dc58..eab0ea9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,6 +16,8 @@ all = lisa_linux @ git+https://github.com/ARM-software/lisa.git#egg=lisa_linux wlauto @ git+https://github.com/ARM-software/lisa.git#egg=wlauto&subdirectory=external/workload-automation devlib @ git+https://github.com/ARM-software/lisa.git#egg=devlib&subdirectory=external/devlib + pytest>=7.4.1 + pytest-resource-path>=1.3.0 [options.package_data] * =