Skip to content

Commit

Permalink
chore: Build integration add core and rule-service
Browse files Browse the repository at this point in the history
  • Loading branch information
pigri committed Jul 30, 2024
1 parent 11c4386 commit 4bb709d
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,18 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Switch to rule-service directory
run: cd rules/rule-service
- name: Install dependencies
run: poetry install
- name: Switch to rule-service test directory
run: cd test
- name: Run unit tests
run: python -m unittest test_api.py

core:
name: Core unit tests
Expand All @@ -41,5 +51,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Install dependencies
run: go get -v
- name: Run unit tests
run: go test

0 comments on commit 4bb709d

Please sign in to comment.