Skip to content

release: v0.1.2 — version-aware FLOAT_FIELDS + 20-vector conformance #23

release: v0.1.2 — version-aware FLOAT_FIELDS + 20-vector conformance

release: v0.1.2 — version-aware FLOAT_FIELDS + 20-vector conformance #23

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["18", "20", "22"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Fetch v0.1 conformance vectors
run: |
mkdir -p ../falsify-hackathon/spec/test-vectors/v0.1
curl -sL "https://raw.githubusercontent.com/studio-11-co/falsify/main/spec/test-vectors/v0.1/test-vectors.json" \
-o ../falsify-hackathon/spec/test-vectors/v0.1/test-vectors.json
- name: Run tests
run: node test.js
- name: CLI smoke test
run: |
node falsify.js init smoke-test
test -f .falsify/smoke-test/spec.yaml || (echo "init didn't create the spec file"; exit 1)
# full conformance is run in test.js