Skip to content

CI: add test workflow #559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Oct 13, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleanup test workflow
  • Loading branch information
Maurizio Branca committed Oct 12, 2020
commit 673dd053be47db01438715ea241077b839cc79dd
30 changes: 0 additions & 30 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ jobs:
with:
go-version: "1.14"

- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"

- name: Install Dependencies (Linux)
# run: sudo apt-get install ninja-build
run: sudo apt update && sudo apt install -y --no-install-recommends build-essential libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev
Expand All @@ -48,40 +43,15 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

# - name: Install Python
# uses: actions/setup-python@v1
# with:
# python-version: "3.8"
# architecture: "x64"

# - name: Install Poetry
# run: pip install poetry

- name: Check the code is good
run: task check

# - name: Install protoc compiler
# uses: arduino/setup-protoc@v1
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}

# - name: Check protocol buffers compile correctly
# run: task protoc

- name: Build the Agent
run: task build

- name: Run unit tests
run: task test-unit

# - name: Run unit tests on the legacy package
# # Run legacy tests on one platform only
# if: matrix.operating-system == 'ubuntu-latest'
# run: task test-legacy

# - name: Run integration tests
# run: task test-integration

# - name: Send unit tests coverage to Codecov
# if: >
# matrix.operating-system == 'ubuntu-latest' &&
Expand Down