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 ba6585e commit cae6df4
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pyb-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

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 cae6df4

Please sign in to comment.