0
1
Fork 0
mirror of https://github.com/actions/checkout synced 2024-07-04 17:02:40 +02:00
checkout/.github/workflows/test.yml
Johannes Schindelin ebe32779b0 TO-DROP: run only test-proxy
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-01-31 15:41:58 +01:00

49 lines
1 KiB
YAML

name: Build and Test
on:
pull_request:
push:
branches:
- main
- releases/*
jobs:
test-proxy:
runs-on: ubuntu-latest
container:
image: alpine/git:latest
options: --dns 127.0.0.1
services:
squid-proxy:
image: ubuntu/squid:latest
ports:
- 3128:3128
env:
https_proxy: http://127.0.0.1:3128
steps:
# Clone this repo
- name: Checkout
uses: actions/checkout@v3
# Basic checkout using git
- name: Checkout basic
uses: ./
with:
ref: test-data/v2/basic
path: basic
- name: Verify basic
run: __test__/verify-basic.sh
# Basic checkout using REST API
- name: Remove basic
run: rm -rf basic
- name: Override git version
run: __test__/override-git-version.sh
- name: Basic checkout using REST API
uses: ./
with:
ref: test-data/v2/basic
path: basic
- name: Verify basic
run: __test__/verify-basic.sh --archive