mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-27 13:03:12 -05:00
a51defd2c7
Signed-off-by: hrj <harshad.rj@gmail.com>
25 lines
490 B
YAML
25 lines
490 B
YAML
name: Core CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 1.11
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 1.11
|
|
- name: Run tests
|
|
run: sbt test assembly
|
|
- name: Run linter
|
|
run: sbt "scalafixAll --check"
|
|
- name: Run locust tests
|
|
run: apt-get update && apt-get -y upgrade && apt-get install -y gocr && ./tests/run.sh
|