Skip to content

test: add test for remotely created dotfiles as well #41

test: add test for remotely created dotfiles as well

test: add test for remotely created dotfiles as well #41

Workflow file for this run

name: Test Dotfiles
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
jobs:
test-dotfiles--local:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup test environment and run tests
run: ./test/setup.sh --local
test-dotfiles--remote:
runs-on: ubuntu-latest
env:
CURRENT_BRANCH: ${{ github.head_ref || github.ref_name }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup test environment remotely and run tests
run: ./test/setup.sh --remote $CURRENT_BRANCH