mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 17:15:08 +00:00
25 lines
846 B
YAML
25 lines
846 B
YAML
on:
|
|
schedule:
|
|
# Nightly test 12:00 am
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
test_develop:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@v1
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
- name: Install build dependencies
|
|
run: |
|
|
sudo apt update && sudo apt install curl python3 python3-pip git -y
|
|
curl -fsSL https://get.docker.com | sh
|
|
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
|
chmod +x /usr/local/bin/docker-compose
|
|
- name: Pull and test edge images
|
|
run: |
|
|
./tests/docker-test.sh
|