Skip to content

Commit

Permalink
add a CI to run the tests (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine authored Oct 11, 2023
1 parent 38f80e7 commit 3b4293d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
pull_request:
push:
branches:
- main

name: continuous-integration

jobs:
tests:
strategy:
fail-fast: true
matrix:
platform: [windows-latest, macos-latest, ubuntu-20.04]

runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v3

- name: Setup Rust toolchain
uses: actions-rust-lang/[email protected]
with:
rustflags: ""

- name: Install Nushell
run: cargo install --locked --git https://github.com/nushell/nushell.git nu

- name: Run the tests
run: nu --commands "use $PWD/nupm/; nupm test"

0 comments on commit 3b4293d

Please sign in to comment.