Skip to content

Commit 35cf59f

Browse files
committed
add fluentci.toml
1 parent 8249905 commit 35cf59f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.fluentci/fluentci.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[[steps]]
2+
name = "Start Postgres"
3+
command = ["fluentci run --wasm postgres start"]
4+
env = ["POSTGRES_USER=postgres", "POSTGRES_DB=demo_rails_test"]
5+
6+
[[steps]]
7+
name = "Check style + security"
8+
command = ["fluentci run --wasm ruby bundle_exec rubocop"]
9+
env = ["RUBY_VERSION=3.1.4"]
10+
11+
[[steps]]
12+
name = "Run tests"
13+
command = [
14+
"fluentci run --wasm ruby bundle_exec rails db:migrate",
15+
"fluentci run --wasm ruby bundle_exec rails db:seed",
16+
"fluentci run --wasm ruby bundle_exec rails test",
17+
"fluentci run --wasm ruby bundle_exec rails spec",
18+
]
19+
env = ["RAILS_ENV=test"]

0 commit comments

Comments
 (0)