-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 | ||
STRIPE_KEY: ${{ secrets.STRIPE_KEY }} | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v22 | ||
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: Docker build | ||
run: REMOVE_RESULT=0 nix develop --command make docker/build | ||
- name: End to end tests | ||
run: nix develop --command make test/e2e | ||
- name: Store docker image as artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: docker-image | ||
path: ./result | ||
|
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
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