Skip to content

Commit

Permalink
initial scaffolding to generate isograph fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
rbalicki2 committed Jan 1, 2025
1 parent be0441b commit 2643f64
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 5 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions crates/isograph_fixture_tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 3 additions & 0 deletions crates/isograph_fixture_tests/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Generate Isograph fixtures!")
}

0 comments on commit 2643f64

Please sign in to comment.