Skip to content

Commit

Permalink
Lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
tannguyen04 committed May 7, 2024
1 parent 0b9fb4b commit 6f7ccdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/scaffold-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ jobs:
run: wget https://github.com/SimonKagstrom/kcov/releases/download/v42/kcov-amd64.tar.gz && tar -xf kcov-amd64.tar.gz && sudo mv ./usr/local/bin/kcov /usr/local/bin/kcov && kcov --version

- name: Install Ahoy
run: os=$(uname -s | tr [:upper:] [:lower:]) && architecture=$(case $(uname -m) in x86_64 | amd64) echo "amd64" ;; aarch64 | arm64 | armv8) echo "arm64" ;; *) echo "amd64" ;; esac) && sudo wget -q https://github.com/ahoy-cli/ahoy/releases/download/v2.1.1/ahoy-bin-$os-$architecture -O /usr/local/bin/ahoy && sudo chown $USER /usr/local/bin/ahoy && chmod +x /usr/local/bin/ahoy
run: |
os=$(uname -s | tr [:upper:] [:lower:]) && architecture=$(case $(uname -m) in x86_64 | amd64) echo "amd64" ;; aarch64 | arm64 | armv8) echo "arm64" ;; *) echo "amd64" ;; esac)
sudo wget -q https://github.com/ahoy-cli/ahoy/releases/download/v2.1.1/ahoy-bin-$os-$architecture -O /usr/local/bin/ahoy
sudo chown $USER /usr/local/bin/ahoy && chmod +x /usr/local/bin/ahoy
- name: Install dependencies
run: npm ci
Expand Down
3 changes: 1 addition & 2 deletions .scaffold/tests/bats/ahoy.bats
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export BATS_FIXTURE_EXPORT_CODEBASE_ENABLED=1
assert_success

assert_output_contains "ASSEMBLE COMPLETE"
assert_dir_exists "${BUILD_DIR}/build/vendor"
assert_dir_exists "${BUILD_DIR}/build/vendor"
assert_file_exists "${BUILD_DIR}/build/composer.json"
assert_file_exists "${BUILD_DIR}/build/composer.lock"

Expand Down Expand Up @@ -45,7 +45,6 @@ export BATS_FIXTURE_EXPORT_CODEBASE_ENABLED=1
run ahoy reset
}


@test "ahoy build - basic workflow" {
run ahoy build
assert_success
Expand Down

0 comments on commit 6f7ccdb

Please sign in to comment.