refactor: break out functional tests into actions #40
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: Functional Tests | |
on: | |
pull_request: | |
branches: [main] | |
paths: | |
- "scripts/**" | |
- "action.yml" | |
- ".github/workflows/functional_tests.yml" | |
- ".github/functional_tests/**" | |
workflow_dispatch: | |
jobs: | |
lake-init: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# run for standalone package and one which depends on mathlib | |
# see ./github/functional_tests/lake_init/action.yml for more details on lake-init-arguments | |
lake-init-arguments: ["standalone", "mathdep math"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/functional_tests/lake_init | |
with: | |
lake-init-arguments: ${{ matrix.lake-init-arguments}} | |
lake-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/functional_tests/lake_test |