Skip to content

Commit

Permalink
integration
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Dec 16, 2023
1 parent 8d10f4f commit 35c4e58
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
matrix:
go-version: [1.21.x]
platform: [ubuntu-latest]
test-type: [unit, integration]

runs-on: ${{ matrix.platform }}

Expand All @@ -28,8 +29,14 @@ jobs:
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -qq libudev-dev
sudo apt-get install -qq libudev-dev libxss-dev gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev
- name: unit tests
if: matrix.test-type == 'unit'
run: |
go test ./rpc ./internal/...
go test ./rpc ./internal/... ./cmd/*/api ./cmd/worklog/store
- name: integration tests
if: matrix.test-type == 'integration'
run: |
go test ./cmd/worklog

0 comments on commit 35c4e58

Please sign in to comment.