Skip to content

Commit

Permalink
Run test scripts in CI/CD
Browse files Browse the repository at this point in the history
Signed-off-by: rany <[email protected]>
  • Loading branch information
rany2 committed May 17, 2024
1 parent 98c9b59 commit 0ccf365
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Run tests"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
tests:
runs-on: ubuntu-latest
name: "tests"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install all dependencies
run: pip install .
- name: Run tests
run: ret=0; for i in tests/*.sh; do ./$i || ret=$?; done; exit $ret

0 comments on commit 0ccf365

Please sign in to comment.