action on commit for testing #4
Workflow file for this run
This file contains 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: 'bootstrap-test' | ||
description: 'tests the bootstrap script correctly installed and configured programs as required' | ||
on: | ||
pull_request: | ||
branches: ['main'] | ||
commit: | ||
branches: ['docker-test'] | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
- name: Build docker images | ||
run: docker build -t bootstrap-script-test < .devcontainer/Dockerfile | ||
- name: Run tests | ||
run: docker run bootstrap-script-test |