Skip to content

Commit

Permalink
Remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 18, 2024
1 parent 9a8fdd7 commit 8cfb6dc
Show file tree
Hide file tree
Showing 3 changed files with 569 additions and 102 deletions.
43 changes: 15 additions & 28 deletions .github/github_workflows.ex
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,9 @@ defmodule GithubWorkflows do
[
name: "PR",
on: [
# pull_request: [
# branches: ["main"],
# types: ["opened", "reopened", "synchronize"]
# ]
# temporary
push: [
branches: ["mise"]
pull_request: [
branches: ["main"],
types: ["opened", "reopened", "synchronize"]
]
],
jobs:
Expand Down Expand Up @@ -79,16 +75,16 @@ defmodule GithubWorkflows do

defp ci_jobs do
[
# compile: compile_job(),
# credo: credo_job(),
# deps_audit: deps_audit_job(),
# dialyzer: dialyzer_job(),
# format: format_job(),
# hex_audit: hex_audit_job(),
# prettier: prettier_job(),
# sobelow: sobelow_job(),
# test: test_job(),
# unused_deps: unused_deps_job()
compile: compile_job(),
credo: credo_job(),
deps_audit: deps_audit_job(),
dialyzer: dialyzer_job(),
format: format_job(),
hex_audit: hex_audit_job(),
prettier: prettier_job(),
sobelow: sobelow_job(),
test: test_job(),
unused_deps: unused_deps_job()
] ++ test_scripts_jobs()
end

Expand Down Expand Up @@ -436,22 +432,13 @@ defmodule GithubWorkflows do
[
name: "Test the script",
if: "steps.result_cache.outputs.cache-hit != 'true'",
run: """
set -x
export MISE_VERBOSE=1
cd test/scripts && expect script.exp #{os}.sh
""",
run: "cd test/scripts && expect script.exp #{os}.sh",
shell: "/bin/#{shell} -l {0}"
],
[
name: "Generate an app and start the server",
if: "steps.result_cache.outputs.cache-hit != 'true'",
run: """
set -x
export MISE_VERBOSE=1
source $HOME/.#{shell}rc
source $HOME/.#{shell}rc && make -f test/scripts/Makefile serve
""",
run: "make -f test/scripts/Makefile serve",
shell: "/bin/#{shell} -l {0}"
],
[
Expand Down
Loading

0 comments on commit 8cfb6dc

Please sign in to comment.