Skip to content

Commit

Permalink
added GitHub Actions workflow for running tests with pybuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
kiridarivaki authored Apr 25, 2024
1 parent 4342cd8 commit ba6585e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pybuilder-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: PyBuilder Test CI

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

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Set PYTHONPATH
run: export PYTHONPATH=$PYTHONPATH:/skillsync

- name: Navigate to project directory
run: cd skillsync

- name: Install PyBuilder
run: pip install pybuilder

- name: Run PyBuilder tests
run: pyb run_unit_tests

0 comments on commit ba6585e

Please sign in to comment.