Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 2.35 KB

README.md

File metadata and controls

50 lines (36 loc) · 2.35 KB

Exercism 8th Track

configlet tests

Exercism exercises in 8th.

CONTRIBUTING

Caution: CI will fail for PRs coming from forked repos

This track uses its own test runner for CI. This requires a secret token to grant access. I'm not sure how this mechanism works, but it means that, for PRs originating from a fork of this repo, access cannot be granted and CI will fail: CI will only pass for PRs merging an exercism/8th branch. Thus only people in the exercism/8th team (i.e. those with write access to this repo) can successfully create a branch, submit a PR, and have CI pass.

Testing

To test the exercises, run ./bin/test. This command will iterate over all exercises and check to see if their exemplar/example implementation passes all the tests.

Track linting

configlet is an Exercism-wide tool for working with tracks. You can download it by running:

$ ./bin/fetch-configlet

Run its lint command to verify if all exercises have all the necessary files and if config files are correct:

$ ./bin/configlet lint

The lint command is under development.
Please re-run this command regularly to see if your track passes the latest linting rules.

Basic linting finished successfully:
- config.json exists and is valid JSON
- config.json has these valid fields:
    language, slug, active, blurb, version, status, online_editor, key_features, tags
- Every concept has the required .md files
- Every concept has a valid links.json file
- Every concept has a valid .meta/config.json file
- Every concept exercise has the required .md files
- Every concept exercise has a valid .meta/config.json file
- Every practice exercise has the required .md files
- Every practice exercise has a valid .meta/config.json file
- Required track docs are present
- Required shared exercise docs are present