Skip to content

Refactor exercises to put test file under test/ dir #47

Refactor exercises to put test file under test/ dir

Refactor exercises to put test file under test/ dir #47

Workflow file for this run

name: test
on:
push: # {branches: [main]}
pull_request:
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
test:
# TODO Switch to yamlscript-test-runner image
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- run: sudo apt-get update
- run: sudo apt-get install -y apt-utils
- run: |
sudo apt-get install -y \
curl \
jq \
make \
perl \
wget \
xz-utils
- name: Install dependencies
run: make deps
- name: Run checks and tests
env:
EXERCISM_YAMLSCRIPT_GHA: 1
run: make check