Skip to content

Commit

Permalink
chore: add tests on PR run
Browse files Browse the repository at this point in the history
  • Loading branch information
mhrabovcin committed Sep 6, 2024
1 parent 231a4a7 commit 2587fa4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test

on:
pull_request:
branches:
- mesosphere

jobs:
test:
name: run-tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Nix on self-hosted ARC runners
uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- name: Install devbox
uses: jetify-com/[email protected]
with:
enable-cache: false
skip-nix-installation: true

- name: Granting private modules access
run: |
git config --global url."https://${{ secrets.MESOSPHERECI_USER_TOKEN }}:[email protected]/".insteadOf "https://github.com/"
- run: devbox run -- make test

0 comments on commit 2587fa4

Please sign in to comment.