Skip to content

Merge pull request #176 from Tribler/CS4160/class-of-2024 #860

Merge pull request #176 from Tribler/CS4160/class-of-2024

Merge pull request #176 from Tribler/CS4160/class-of-2024 #860

Workflow file for this run

name: build
on:
pull_request:
push:
branches: master
jobs:
test:
name: Run Tests
# TODO: Ubuntu currently broken.
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: ./.github/actions/checkout_submodules
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
# TODO: This is currently broken due to SqlDelight.
# - name: Run check
# run: bash ./gradlew check
- name: Run tests
run: bash ./gradlew test
- name: Run lint
run: bash ./gradlew ktlintCheck
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}