ci(test): Test of CI
This commit is contained in:
parent
4e623fada6
commit
ada2a0ceb3
3 changed files with 27 additions and 1 deletions
22
.github/workflows/ci.yml
vendored
Normal file
22
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: Polyglot CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v25
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- uses: cachix/cachix-action@v14
|
||||
# with:
|
||||
# name: mycache
|
||||
- run: chmod +x ./ilp-rest-service/gradlews
|
||||
- run: nix develop --command just all
|
||||
|
|
@ -1,3 +1,8 @@
|
|||
all:
|
||||
@just format
|
||||
@just static-analysis
|
||||
@just test
|
||||
|
||||
format:
|
||||
cd ./drone-black-box && go fmt
|
||||
fd --extension java --exec google-java-format --replace --aosp {}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package io.github.js0ny.ilp_coursework.service;
|
||||
|
||||
|
||||
import io.github.js0ny.ilp_coursework.data.common.LngLat;
|
||||
import io.github.js0ny.ilp_coursework.data.external.Drone;
|
||||
import io.github.js0ny.ilp_coursework.data.external.RestrictedArea;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue