Skip to content

Commit

Permalink
feat(ci): added workflow for ci testing
Browse files Browse the repository at this point in the history
Signed-off-by: rjtch <tchuinkoufongue@gmail.com>
  • Loading branch information
rjtch authored and afrittoli committed Feb 5, 2024
1 parent 4b47b8a commit f3bce54
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: test

permissions:
contents: read

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
inputs:
commit_sha:
description: Git commit sha, on which, to run this workflow

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

defaults:
run:
shell: bash

jobs:
test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/cache@v4
continue-on-error: false
- uses: taiki-e/install-action@v2
with:
tool: nextest,cargo-deny, cargo-msrv, cargo-machete

0 comments on commit f3bce54

Please sign in to comment.