create test workflow to test dotfiles functionalities #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| # Enable manual triggering | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout the repository code | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| # Install dotfiles | |
| - name: Install dotfiles | |
| run: | | |
| ./install.sh --deps --force | |
| # Check dotfiles are installed | |
| - name: Check that the dotfiles have been correctly installed | |
| run: | | |
| ll ~ |