Skip to content

Commit

Permalink
Change to armbian-config also in Unit test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik authored and armbianworker committed Oct 14, 2024
1 parent 90cdde6 commit c9dfc58
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
Build:
name: Make docs
runs-on: ubuntu-latest
#if: ${{ github.repository_owner == 'armbian' }}
if: ${{ github.repository_owner == 'armbian' }}
steps:

- name: Checkout build repo
uses: actions/checkout@v4
- name: Make docs
run: |
bin/armbian-configng --doc
bin/armbian-config --doc
- name: Create Pull Request
id: cpr
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ftp-deploy.yml.hold
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
exit $ret

- name: Generate website
run: ./bin/armbian-configng --dev --web
run: ./bin/armbian-config --dev --web

- name: 📂 Sync files
uses: SamKirkland/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ jobs:
export DEBIAN_FRONTEND=noninteractive
cd config
eval "$PREINSTALL"
sudo bash bin/armbian-configng --cmd "$TEST_ID"
sudo bash bin/armbian-config --cmd "$TEST_ID"
eval "$CONDITION"
# stats
FILENAME="data-"$(echo ${{ matrix.image.image }} | sed "s/:/-/g")"-${TEST_ID}.teststats"
echo $RELEASE >> ../${FILENAME}
bash bin/armbian-configng --cmd | grep "${TEST_ID}" | xargs >> ../${FILENAME}
bash bin/armbian-config --cmd | grep "${TEST_ID}" | xargs >> ../${FILENAME}
echo " " >> ../${FILENAME}
- name: Upload test
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

> Note: Some references may still use the old name during the transition period.
armbian-configng provides configuration scripts for customizing and automating tasks within Armbian environments. These scripts help streamline setup processes for various configurations and use cases.
armbian-config provides configuration scripts for customizing and automating tasks within Armbian environments. These scripts help streamline setup processes for various configurations and use cases.

## Features

Expand Down
8 changes: 4 additions & 4 deletions bin/armbian-config
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ case "$1" in
exit 0
fi

echo "Usage: armbian-configng --[option]
echo "Usage: armbian-config --[option]
Options:
--help [catagory] Use [catagory] to filter specific menu options.
--cmd [option] Run a command from the menu (simple)
--api [option] Run a helper command (advanced)
--doc Generate the README.md file
Examples:
armbian-configng --help [cmd||System||Software||Network||Localisation]
armbian-configng --cmd help
armbian-configng --api help
armbian-config --help [cmd||System||Software||Network||Localisation]
armbian-config --cmd help
armbian-config --api help
"
exit 0
;;
Expand Down
4 changes: 2 additions & 2 deletions lib/armbian-configng/config.ng.docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function generate_readme() {
# Get the current date
local current_date=$(date)
# setup doc folders
#mkdir -p "$script_dir/../share/doc/armbian-configng"
#mkdir -p "$script_dir/../share/doc/armbian-config"

echo -e "Sorting data\nUpdating documentation" # current_date ;

Expand Down Expand Up @@ -140,7 +140,7 @@ Get Development and contribute:
{
git clone https://github.com/armbian/configng
cd configng
./armbian-configng --help
./armbian-config --help
}
~~~
Expand Down
2 changes: 1 addition & 1 deletion share/applications/configng.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Version=1.0
Name=Armbian ConfigNG
Comment=Next Generation GUI for Armbian Configurations
Exec=sh -c "sudo armbian-configng"
Exec=sh -c "sudo armbian-config"
Icon=configng
Terminal=true
Type=Application
Expand Down
2 changes: 1 addition & 1 deletion tests/S17.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ENABLED=true
PREINSTALL="bash bin/armbian-configng --cmd S18"
PREINSTALL="bash bin/armbian-config --cmd S18"
CONDITION="[ ! -f /usr/bin/zsh ]"

0 comments on commit c9dfc58

Please sign in to comment.