Compare commits
4 Commits
main
...
feature/gh
| Author | SHA1 | Date |
|---|---|---|
|
|
c6e20635d0 | |
|
|
649bf5241f | |
|
|
489fe44a83 | |
|
|
8344885683 |
|
|
@ -5,7 +5,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, type-cx42]
|
||||||
steps:
|
steps:
|
||||||
- name: Git describe
|
- name: Git describe
|
||||||
id: ghd
|
id: ghd
|
||||||
|
|
@ -78,7 +78,7 @@ jobs:
|
||||||
path: ./frontend/dist/**/*
|
path: ./frontend/dist/**/*
|
||||||
|
|
||||||
binaries:
|
binaries:
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, type-cx42]
|
||||||
needs:
|
needs:
|
||||||
- frontend
|
- frontend
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,7 @@ jobs:
|
||||||
./vikunja migrate
|
./vikunja migrate
|
||||||
|
|
||||||
test-api:
|
test-api:
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, type-cx32, image-x86-app-docker-ce]
|
||||||
needs:
|
needs:
|
||||||
- mage
|
- mage
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -201,6 +201,10 @@ jobs:
|
||||||
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4
|
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4
|
||||||
with:
|
with:
|
||||||
name: mage_bin
|
name: mage_bin
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
|
||||||
|
with:
|
||||||
|
go-version: stable
|
||||||
- name: test
|
- name: test
|
||||||
env:
|
env:
|
||||||
VIKUNJA_TESTS_USE_CONFIG: ${{ matrix.db != 'sqlite-in-memory' && 1 || 0 }}
|
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_BINDDN: uid=gitea,ou=service,dc=planetexpress,dc=com
|
||||||
VIKUNJA_AUTH_LDAP_BINDPASSWORD: password
|
VIKUNJA_AUTH_LDAP_BINDPASSWORD: password
|
||||||
VIKUNJA_AUTH_LDAP_USERFILTER: '(&(objectclass=inetorgperson)(uid=%s))'
|
VIKUNJA_AUTH_LDAP_USERFILTER: '(&(objectclass=inetorgperson)(uid=%s))'
|
||||||
|
CGO_ENABLED: 1
|
||||||
run: |
|
run: |
|
||||||
mkdir -p frontend/dist
|
mkdir -p frontend/dist
|
||||||
touch frontend/dist/index.html
|
touch frontend/dist/index.html
|
||||||
|
|
@ -313,7 +318,9 @@ jobs:
|
||||||
pnpm test:unit
|
pnpm test:unit
|
||||||
|
|
||||||
test-frontend-e2e:
|
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:
|
needs:
|
||||||
- frontend-dependencies
|
- frontend-dependencies
|
||||||
- api-build
|
- api-build
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue