diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39fd6da43..6240b4f08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -206,11 +206,18 @@ jobs: - name: Run cargo test run: cargo test + build-fixtures: + name: Build fixtures + uses: ./.github/workflows/run-cargo-bin-and-ensure-no-changes.yml + with: + binary: generate_isograph_fixtures + all-checks-passed: name: All checks passed runs-on: ubuntu-latest needs: [ + build-fixtures, build-js-packages, build-cli, build-cli-linux, diff --git a/Cargo.lock b/Cargo.lock index 707b7a377..d0ec5f3e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "addr2line" @@ -785,6 +785,10 @@ dependencies = [ "tracing", ] +[[package]] +name = "isograph_fixture_tests" +version = "0.3.0" + [[package]] name = "isograph_lang_parser" version = "0.3.0" diff --git a/crates/isograph_fixture_tests/Cargo.toml b/crates/isograph_fixture_tests/Cargo.toml new file mode 100644 index 000000000..181935b09 --- /dev/null +++ b/crates/isograph_fixture_tests/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "isograph_fixture_tests" +version = { workspace = true } +edition = { workspace = true } +license = { workspace = true } + +[[bin]] +name = "generate_isograph_fixtures" +path = "src/main.rs" diff --git a/crates/isograph_fixture_tests/src/main.rs b/crates/isograph_fixture_tests/src/main.rs new file mode 100644 index 000000000..3993d9595 --- /dev/null +++ b/crates/isograph_fixture_tests/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Generate Isograph fixtures!") +}