From b86ddace8f5244f34a290486cd3df898e4697e39 Mon Sep 17 00:00:00 2001 From: jiro4989 Date: Tue, 13 Aug 2024 00:43:43 +0900 Subject: [PATCH] ci: add nightlies test #504 --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 96ddc123..abd2c15a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,6 +62,33 @@ jobs: - name: Run command run: nimjson -h + test-devel: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - ubuntu-latest + - macOS-latest + use-nightlies: + - 'true' + - 'false' + steps: + - uses: actions/checkout@v4 + - uses: ./ + with: + nim-version: devel + use-nightlies: ${{ matrix.use-nightlies }} + repo-token: ${{ secrets.GITHUB_TOKEN }} + + - name: Print Nim version + run: nim -v + - name: Print Nimble version + run: nimble -v + - name: Run build test + run: nimble install -Y nimjson + - name: Run command + run: nimjson -h + test-multi-versions: runs-on: ${{ matrix.os }} strategy: