Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
name: Integration Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- .github/workflows/test.yml
|
|
- .github/scripts/get-latest-tags.sh
|
|
- build/**
|
|
- installation/**
|
|
- tests/**
|
|
- .dockerignore
|
|
- docker-bake.hcl
|
|
- env-example
|
|
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- .github/workflows/test.yml
|
|
- .github/scripts/get-latest-tags.sh
|
|
- build/**
|
|
- installation/**
|
|
- tests/**
|
|
- .dockerignore
|
|
- docker-bake.hcl
|
|
- env-example
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
# Every day at 01:00 am
|
|
# Develop images are built at 12:00 pm, we want to use them
|
|
# Also, we don't build new images on this event
|
|
- cron: 0 1 * * *
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Get latest versions
|
|
if: github.event_name != 'schedule'
|
|
run: ./.github/scripts/get-latest-tags.sh
|
|
env:
|
|
VERSION: 13
|
|
|
|
- name: Build
|
|
if: github.event_name != 'schedule'
|
|
uses: docker/bake-action@v1.7.0
|
|
with:
|
|
files: docker-bake.hcl
|
|
targets: frappe-develop,frappe-stable
|
|
load: true
|
|
env:
|
|
GIT_TAG: ${{ env.FRAPPE_VERSION }}
|
|
|
|
- name: Test
|
|
run: ./tests/integration-test.sh
|