-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (35 loc) · 1.02 KB
/
push.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: push
on:
push:
paths-ignore:
- ".gitignore"
- ".github/images"
- "README.md"
jobs:
push:
if: "! contains(github.ref, 'refs/tags/')"
runs-on: ubuntu-20.04
env:
GENENV_FILE: ./config/genenv.ci.sh
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: cachix/install-nix-action@v24
with:
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
- run: printenv
- name: Lint
run: nix develop --command make lint
- name: Unit tests
run: nix develop --command make test/unit
- name: Integration tests
run: nix develop --command make test/integ
- name: Docker build
run: REMOVE_RESULT=0 nix develop --command make docker/build
- name: End to end tests
run: nix develop --command make -j test/e2e
- name: Store docker image as artifact
uses: actions/upload-artifact@v4
with:
name: docker-image
path: ./result