Compare commits

...

4 Commits

Author SHA1 Message Date
kolaente c6e20635d0
fix: explicitely enable cgo for tests 2025-04-02 13:55:57 +02:00
kolaente 649bf5241f
run cypress in container 2025-04-02 13:44:38 +02:00
kolaente 489fe44a83
fix: setup go in test step 2025-04-02 13:41:36 +02:00
kolaente 8344885683
feat: add github hetzner runners 2025-04-02 13:27:57 +02:00
2 changed files with 11 additions and 4 deletions

View File

@ -5,7 +5,7 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
runs-on: [self-hosted, type-cx42]
steps:
- name: Git describe
id: ghd
@ -78,7 +78,7 @@ jobs:
path: ./frontend/dist/**/*
binaries:
runs-on: ubuntu-latest
runs-on: [self-hosted, type-cx42]
needs:
- frontend
steps:

View File

@ -163,7 +163,7 @@ jobs:
./vikunja migrate
test-api:
runs-on: ubuntu-latest
runs-on: [self-hosted, type-cx32, image-x86-app-docker-ce]
needs:
- mage
strategy:
@ -201,6 +201,10 @@ jobs:
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4
with:
name: mage_bin
- name: Set up Go
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
with:
go-version: stable
- name: test
env:
VIKUNJA_TESTS_USE_CONFIG: ${{ matrix.db != 'sqlite-in-memory' && 1 || 0 }}
@ -216,6 +220,7 @@ jobs:
VIKUNJA_AUTH_LDAP_BINDDN: uid=gitea,ou=service,dc=planetexpress,dc=com
VIKUNJA_AUTH_LDAP_BINDPASSWORD: password
VIKUNJA_AUTH_LDAP_USERFILTER: '(&(objectclass=inetorgperson)(uid=%s))'
CGO_ENABLED: 1
run: |
mkdir -p frontend/dist
touch frontend/dist/index.html
@ -313,7 +318,9 @@ jobs:
pnpm test:unit
test-frontend-e2e:
runs-on: ubuntu-latest
runs-on: [self-hosted, type-cx32, image-x86-app-docker-ce]
container:
image: cypress/browsers:22.13.1
needs:
- frontend-dependencies
- api-build