Skip to content

ci: add CI runner for pull_request (#111) #31

ci: add CI runner for pull_request (#111)

ci: add CI runner for pull_request (#111) #31

Workflow file for this run

on:
push:
branches: [master, main]
paths:
- "humphrey-json/**"
- "humphrey-json-derive/**"
- ".github/workflows/spec.yml"
pull_request:
branches: [master, main]
paths:
- "humphrey-json/**"
- "humphrey-json-derive/**"
- ".github/workflows/spec.yml"
name: JSON Specification Compliance
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test Specification Compliance
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: -p humphrey_json spec -- --ignored