From d96efe96a19129d8aaeb01f67fedacd92649ecf1 Mon Sep 17 00:00:00 2001 From: jfraeys <13443851+jfraeys@users.noreply.github.com> Date: Mon, 27 Nov 2023 11:38:01 -0500 Subject: [PATCH 1/6] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6161362..d4ab2d1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Git run: | From a594bb9073a11cddf326f9b97a1c77de0a44ee78 Mon Sep 17 00:00:00 2001 From: jfraeys <13443851+jfraeys@users.noreply.github.com> Date: Mon, 27 Nov 2023 11:38:19 -0500 Subject: [PATCH 2/6] Update deploy_update_brew_lists.yml --- .github/workflows/deploy_update_brew_lists.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_update_brew_lists.yml b/.github/workflows/deploy_update_brew_lists.yml index f928fc2..48a81d7 100644 --- a/.github/workflows/deploy_update_brew_lists.yml +++ b/.github/workflows/deploy_update_brew_lists.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Git run: | From c29184c918fb2076086c2979e41cd829e2b9cbdc Mon Sep 17 00:00:00 2001 From: jfraeys <13443851+jfraeys@users.noreply.github.com> Date: Mon, 27 Nov 2023 11:39:31 -0500 Subject: [PATCH 3/6] Update test_script.yml --- .github/workflows/test_script.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_script.yml b/.github/workflows/test_script.yml index 14df41f..3e479de 100644 --- a/.github/workflows/test_script.yml +++ b/.github/workflows/test_script.yml @@ -18,10 +18,10 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.x From 027738ad5c624b81e8b24e9e85a3ba95e7c9663f Mon Sep 17 00:00:00 2001 From: jfraeys <13443851+jfraeys@users.noreply.github.com> Date: Mon, 27 Nov 2023 11:46:22 -0500 Subject: [PATCH 4/6] Update deploy.yml --- .github/workflows/deploy.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d4ab2d1..10d2ef4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,34 +15,34 @@ jobs: - name: Set up Git run: | - git config --global user.email "your-email@example.com" - git config --global user.name "Your Name" + git config --global user.email "${{ github.actor }}@users.noreply.github.com" + git config --global user.name "${{ github.actor }}" - name: Deploy aactivator.py run: | - cp aactivator.py /path/to/your/deployment/directory - git add /path/to/your/deployment/directory/aactivator.py + cp aactivator.py . + git add aactivator.py git commit -m "Deploy aactivator.py" git push - name: Deploy tmux_sessionizer run: | - cp tmux_sessionizer /path/to/your/deployment/directory - git add /path/to/your/deployment/directory/tmux_sessionizer + cp tmux_sessionizer . + git add tmux_sessionizer git commit -m "Deploy tmux_sessionizer" git push - name: Deploy tmux_windownizer run: | - cp tmux_windownizer /path/to/your/deployment/directory - git add /path/to/your/deployment/directory/tmux_windownizer + cp tmux_windownizer . + git add tmux_windownizer git commit -m "Deploy tmux_windownizer" git push - name: Deploy setup_dev_environment.sh run: | - cp setup_dev_environment.sh /path/to/your/deployment/directory - git add /path/to/your/deployment/directory/setup_dev_environment.sh + cp setup_dev_environment.sh . + git add setup_dev_environment.sh git commit -m "Deploy setup_dev_environment.sh" git push From e1f38d4d6ac94f047fc5d2750d2cf4ca005d6f95 Mon Sep 17 00:00:00 2001 From: jfraeys <13443851+jfraeys@users.noreply.github.com> Date: Mon, 27 Nov 2023 11:48:48 -0500 Subject: [PATCH 5/6] Update test_script.yml --- .github/workflows/test_script.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test_script.yml b/.github/workflows/test_script.yml index 3e479de..a23a97b 100644 --- a/.github/workflows/test_script.yml +++ b/.github/workflows/test_script.yml @@ -25,31 +25,26 @@ jobs: with: python-version: 3.x - - name: Install Dependencies - run: | - python -m pip install -r requirements.txt - - name: Test aactivator.py run: | - chmod +x aactivator.py - ./aactivator.py --version + python aactivator.py - name: Test tmux_sessionizer run: | chmod +x tmux_sessionizer - ./tmux_sessionizer --version + ./tmux_sessionizer - name: Test tmux_windownizer run: | chmod +x tmux_windownizer - ./tmux_windownizer --version + ./tmux_windownizer - name: Test update_brew_lists run: | chmod +x update_brew_lists - ./update_brew_lists --version + ./update_brew_lists - name: Test setup_dev_environment.sh run: | chmod +x setup_dev_environment.sh - ./setup_dev_environment.sh --version + ./setup_dev_environment.sh From 4f067dba761216f24918deba1f948d83bc941fce Mon Sep 17 00:00:00 2001 From: jfraeys <13443851+jfraeys@users.noreply.github.com> Date: Mon, 27 Nov 2023 11:56:05 -0500 Subject: [PATCH 6/6] Update test_script.yml --- .github/workflows/test_script.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/test_script.yml b/.github/workflows/test_script.yml index a23a97b..63de925 100644 --- a/.github/workflows/test_script.yml +++ b/.github/workflows/test_script.yml @@ -25,6 +25,18 @@ jobs: with: python-version: 3.x + - name: Install tmux on macOS + if: startsWith(matrix.os, 'macos') + run: | + if ! command -v brew &> /dev/null; then + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + fi + brew install tmux + + - name: Install tmux on Ubuntu + if: startsWith(matrix.os, 'ubuntu') + run: sudo apt-get install tmux + - name: Test aactivator.py run: | python aactivator.py @@ -48,3 +60,4 @@ jobs: run: | chmod +x setup_dev_environment.sh ./setup_dev_environment.sh +