Fix #30 - The TOC links don't work (#37) #51
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: 'Test' | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- 'main' | |
workflow_dispatch: | |
jobs: | |
test-pull-requests-docker: | |
if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/main') | |
runs-on: ubuntu-latest | |
container: "${{ matrix.image }}" | |
strategy: | |
matrix: | |
image: | |
- 'alpine:latest' | |
- 'ubuntu:latest' | |
- 'fedora:latest' | |
steps: | |
- uses: 'actions/checkout@v2' | |
with: | |
fetch-depth: 1 | |
- name: 'Setup runner' | |
run: './test/setup_runner.sh' | |
- name: 'Install Dependencies' | |
run: './test/install_deps.sh' | |
- name: 'Run all tests' | |
run: './test/run.sh' | |
shell: 'bash' | |
test-pull-requests-non-docker: | |
if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/main') | |
runs-on: "${{ matrix.os }}" | |
strategy: | |
matrix: | |
os: | |
- 'macos-latest' | |
# We are disabling tests for windows for now until we can properly support it | |
# - 'windows-latest' | |
steps: | |
- uses: 'actions/checkout@v2' | |
with: | |
fetch-depth: 1 | |
- name: 'Setup runner' | |
run: './test/setup_runner.sh' | |
- name: 'Install Dependencies' | |
run: './test/install_deps.sh' | |
- name: 'Run all tests' | |
run: './test/run.sh' | |
shell: 'bash' |