chore: replace git urls in tests
This commit is contained in:
@ -28,6 +28,7 @@ jobs:
|
|||||||
|
|
||||||
container:
|
container:
|
||||||
image: altlinux.space/maks1ms/actions-container-runner:latest
|
image: altlinux.space/maks1ms/actions-container-runner:latest
|
||||||
|
privileged: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -39,14 +40,15 @@ jobs:
|
|||||||
uses: https://github.com/actions/setup-go@v5
|
uses: https://github.com/actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.24'
|
go-version: '1.24'
|
||||||
|
cache: false
|
||||||
|
|
||||||
- name: Cache Podman images
|
# - name: Cache Podman images
|
||||||
uses: actions/cache@v4
|
# uses: actions/cache@v4
|
||||||
with:
|
# with:
|
||||||
path: |
|
# path: |
|
||||||
~/.local/share/containers/storage
|
# ~/.local/share/containers/storage
|
||||||
/var/lib/containers/storage
|
# /var/lib/containers/storage
|
||||||
key: ${{ runner.os }}-primes
|
# key: ${{ runner.os }}-primes
|
||||||
|
|
||||||
- name: Run E2E tests
|
- name: Run E2E tests
|
||||||
env:
|
env:
|
||||||
|
@ -26,6 +26,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
pre-commit:
|
pre-commit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: docker.gitea.com/runner-images:ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -182,7 +182,7 @@ func runTestCommands(t *testing.T, r e2e.Runnable, timeout time.Duration, expect
|
|||||||
}
|
}
|
||||||
|
|
||||||
const REPO_NAME_FOR_E2E_TESTS = "alr-repo"
|
const REPO_NAME_FOR_E2E_TESTS = "alr-repo"
|
||||||
const REPO_URL_FOR_E2E_TESTS = "https://gitea.plemya-x.ru/Maks1mS/repo-for-tests.git"
|
const REPO_URL_FOR_E2E_TESTS = "https://gitea.plemya-x.ru/Plemya-x/repo-for-tests.git"
|
||||||
|
|
||||||
func defaultPrepare(t *testing.T, r e2e.Runnable) {
|
func defaultPrepare(t *testing.T, r e2e.Runnable) {
|
||||||
execShouldNoError(t, r,
|
execShouldNoError(t, r,
|
||||||
|
@ -41,7 +41,7 @@ func TestFindPkgs(t *testing.T) {
|
|||||||
err := rs.Pull(e.Ctx, []types.Repo{
|
err := rs.Pull(e.Ctx, []types.Repo{
|
||||||
{
|
{
|
||||||
Name: "default",
|
Name: "default",
|
||||||
URL: "https://gitea.plemya-x.ru/xpamych/xpamych-alr-repo.git",
|
URL: "https://gitea.plemya-x.ru/Plemya-x/alr-default.git",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user