19 lines
607 B
YAML
19 lines
607 B
YAML
name: Environment Setup Test
|
|
on: [push, pull_request]
|
|
jobs:
|
|
Setup:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- run: cd ${{ github.workspace }}
|
|
- name: Run repository setup scripts
|
|
run: |
|
|
sh setup.sh
|
|
sh scripts/get-docker.sh
|
|
- name: Check if Docker was installed
|
|
run: docker run --name hello-world hello-world
|
|
- name: Clean up hello-world container
|
|
run: docker rm hello-world
|
|
- name: Clean up network (see #3)
|
|
run: docker network rm main_subnet |