summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/services-host-network/push.yml
blob: 8d0eb2947bfd203edd2960ac4b97f2a8c7179162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
name: services-host-network
on: push
jobs:
  services-host-network:
    runs-on: ubuntu-latest
    services:
      nginx:
        image: "nginx:latest"
        ports:
          - "8080:80"
    steps:
      - run: apt-get -qq update && apt-get -yqq install --no-install-recommends curl net-tools
      - run: netstat -tlpen
      - run: curl -v http://localhost:8080