Skip to content

Commit

Permalink
github: Add tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkajetanp committed Oct 9, 2023
1 parent b229293 commit de3093f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,4 @@ cython_debug/
#.idea/

update-notebooks.sh
.vim/
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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]
* =
Expand Down

0 comments on commit de3093f

Please sign in to comment.