chore: rename test/ to tests/ #14
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: "CI - Test Features" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: "Check shell script syntax" | |
| run: | | |
| bash -n src/atlas/install.sh | |
| bash -n src/psql/install.sh | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: "Install latest devcontainer CLI" | |
| run: npm install -g @devcontainers/cli | |
| - name: "Test atlas feature" | |
| run: devcontainer features test -f atlas -i mcr.microsoft.com/devcontainers/base:ubuntu . | |
| - name: "Test psql feature" | |
| run: devcontainer features test -f psql -i mcr.microsoft.com/devcontainers/base:ubuntu . |