standard-build/.gitea/workflows/test-environment.yaml

18 lines
558 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
sh post-pull.sh
- name: Check if Docker was installed
run: docker run --rm --name hello-world hello-world
- name: Clean up network (see \#3)
run: docker network rm main_subnet