Clixon Controller CI #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clixon Controller CI | |
on: | |
push: | |
branches: | |
- main | |
- test-actions | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: '00 3 * * 6' # Run every Saturday morning | |
jobs: | |
test-job: | |
name: Controller tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 8 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Start containers | |
run: (cd docker; docker compose -f docker-compose-test.yml up --build -d) | |
- name: Run tests | |
run: sleep 5; docker exec -t controller-test bash -c 'cd clixon-controller/test/;detail=true ./sum.sh' |