32 lines
687 B
YAML
32 lines
687 B
YAML
name: Polyglot CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
paths:
|
|
- '**.java'
|
|
- '**.go'
|
|
- '.justfile'
|
|
- '**.js'
|
|
- '**.svelte'
|
|
- '**.css'
|
|
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/gradlew
|
|
- name: Unit Testing and Integration Testing
|
|
run: nix develop .#ci --command just all
|
|
- name: E2E Test
|
|
run: nix develop .#ci --command just e2e
|