refactor: simplify the tests #3
Workflow file for this run
This file contains hidden or 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 Academy | |
| on: | |
| # TODO, this is just temporary: | |
| push: | |
| branches: [ "honzajavorek/test-exercises" ] | |
| # schedule: | |
| # - cron: "0 3 * * 1" # at 3am UTC on Mondays | |
| # workflow_dispatch: # allows running this workflow manually from the Actions tab | |
| jobs: | |
| test-exercises: | |
| name: Test Academy Exercises | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Source code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: npm | |
| cache-dependency-path: package-lock.json | |
| - name: Setup Python | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install Bats | |
| run: | | |
| corepack enable | |
| npm install --only=dev | |
| - name: Test | |
| run: npm run test:academy |