Skip to content

Prepare release 1.11.2 #958

Prepare release 1.11.2

Prepare release 1.11.2 #958

Workflow file for this run

jobs:
api-tests:
name: api-tests
runs-on: ubuntu-latest
steps:
- uses: "actions/[email protected]"
- uses: "cachix/install-nix-action@v20"
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: "cachix/cachix-action@v12"
with:
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
name: change-metrics
- name: Configure sysctl limits
run: |
sudo swapoff -a
sudo sysctl -w vm.swappiness=1
sudo sysctl -w fs.file-max=262144
sudo sysctl -w vm.max_map_count=262144
- name: Runs Elasticsearch
uses: "elastic/elastic-github-actions/elasticsearch@master"
with:
stack-version: "7.17.16"
- name: Display indexes
run: curl -s -I -X GET http://localhost:9200/_cat/indices
- name: Build the env
run: "nix build --no-link .#env"
- name: Run Test
run: "nix develop .#ci --command env MONOCLE_ELASTIC_URL=http://localhost:9200 monocle-ci-run"
- name: Build the develop shell
run: nix develop . --command true
name: Nix
on:
pull_request: {}
push:
branches:
- master