add new CI workflow
This commit is contained in:
parent
f581eb0483
commit
74a3d69eea
42
.github/workflows/conformance.yml
vendored
Normal file
42
.github/workflows/conformance.yml
vendored
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
name: conformance
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
everything:
|
||||||
|
# host is irrelevant because everything will run in Docker containers
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@master
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
components: clippy, rustfmt
|
||||||
|
- uses: extractions/setup-just@v2
|
||||||
|
|
||||||
|
- name: run test-framework tests
|
||||||
|
run: just conformance-framework
|
||||||
|
|
||||||
|
- name: run conformance tests against unbound
|
||||||
|
run: just conformance-unbound
|
||||||
|
|
||||||
|
- name: run conformance tests against BIND
|
||||||
|
run: just conformance-bind
|
||||||
|
|
||||||
|
- name: run conformance tests against hickory-dns
|
||||||
|
run: just conformance-hickory
|
||||||
|
|
||||||
|
- name: check that all the tests that now pass with hickory-dns are not marked as `#[ignore]`-d
|
||||||
|
run: just conformance-ignored
|
||||||
|
|
||||||
|
- name: lint code
|
||||||
|
run: just conformance-clippy
|
||||||
|
|
||||||
|
- name: check that code is formatted
|
||||||
|
run: just conformance-fmt
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -6,10 +6,14 @@ on:
|
|||||||
- main
|
- main
|
||||||
- release/**
|
- release/**
|
||||||
- "*_dev"
|
- "*_dev"
|
||||||
|
paths-ignore:
|
||||||
|
- "conformance/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- release/**
|
- release/**
|
||||||
|
paths-ignore:
|
||||||
|
- "conformance/**"
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 3 * * 4"
|
- cron: "0 3 * * 4"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user