This commit is contained in:
Jeremie Fraeys 2023-11-27 22:03:46 -05:00
commit 3908cded53
3 changed files with 30 additions and 22 deletions

View file

@ -11,38 +11,38 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- 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

View file

@ -10,7 +10,7 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Git
run: |

View file

@ -18,38 +18,46 @@ 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
- name: Install Dependencies
- name: Install tmux on macOS
if: startsWith(matrix.os, 'macos')
run: |
python -m pip install -r requirements.txt
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: |
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