feat: app-reloader v1.2.0 #9169
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: Go Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install NIX | |
uses: cachix/install-nix-action@v30 | |
- name: Install devbox | |
uses: jetify-com/[email protected] | |
with: | |
enable-cache: true | |
skip-nix-installation: true | |
- name: Run unit tests | |
run: devbox run -- make go-test | |
- name: Check if git-operator manifests are up to date | |
run: | | |
devbox run just git-operator-fetch-manifests | |
git diff --exit-code | |
- name: Check if kommander application server works | |
run: | | |
git config --global user.name "${GITHUB_ACTOR}" | |
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
devbox run -- just test-server | |
- name: Report Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
file: hack/release/coverage.out |