tests/dep_tree: Add test to make sure we can't depend on dependencies… #160
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, workflow_dispatch] | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up compiler | |
uses: egor-tensin/setup-clang@v1 | |
with: | |
version: latest | |
platform: x64 | |
- name: Run tests | |
run: sh tests.sh | |
- name: Set up tmate session | |
if: ${{ failure() }} | |
uses: mxschmitt/action-tmate@v3 | |
timeout-minutes: 5 | |
with: | |
limit-access-to-actor: true | |
detached: true | |
run_tests_macos: | |
strategy: | |
matrix: | |
os: [macos-13, macos-latest] # 'macos-13' is Intel, 'macos-latest' is M1. | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests | |
run: sh tests.sh | |
- name: Set up tmate session | |
if: ${{ failure() }} | |
uses: mxschmitt/action-tmate@v3 | |
timeout-minutes: 5 | |
with: | |
limit-access-to-actor: true | |
detached: true |