Skip to content

tests(generate): fix existing tests #1377

tests(generate): fix existing tests

tests(generate): fix existing tests #1377

Workflow file for this run

name: tests
on:
push:
paths:
- "**"
- "!**.md"
pull_request:
paths:
- "**"
- "!**.md"
workflow_dispatch:
jobs:
all_tests:
strategy:
fail-fast: false
matrix:
include:
- os: linux
runs-on: ubuntu-22.04
arch: x86-64
- os: macos
runs-on: macos-12
arch: x86-64
- os: windows
runs-on: windows-2022
arch: x86-64
name: "${{ matrix.os }}-${{ matrix.arch }}"
runs-on: ${{ matrix.runs-on }}
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Configure the git user # Required to create a commit in our binary tests
run: |
git config --global user.email "66069679+exercism-bot@users.noreply.github.com"
git config --global user.name "Exercism Bot"
- name: On Linux, install musl
if: matrix.os == 'linux'
run: ./.github/bin/linux-install-musl
- name: Install Nim
uses: iffy/install-nim@2546aaf825947f6bf76be75ff78d74176992e99d
with:
version: "binary:2.0.8"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install our Nimble dependencies
run: nimble --accept install --depsOnly
- name: Run our test suite
run: nimble test