README: Update examples and status #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
nim: | |
- '1.6.x' | |
- 'stable' | |
- 'devel' | |
fail-fast: false | |
name: Nim ${{ matrix.nim }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: jiro4989/[email protected] | |
with: | |
nim-version: ${{ matrix.nim }} | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- run: nimble -y install | |
- run: nimble test | |
- name: Test generation of nimibook documentation | |
run: nimble genbook | |
- name: Test example book | |
run: nimble test_example | |
- name: Clean example book | |
run: nimble clean_example | |