scheduler #1001
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: scheduler | |
on: | |
schedule: | |
- cron: '0 0 */1 * *' | |
jobs: | |
test: | |
strategy: | |
matrix: | |
platform: [ubuntu-22.04] | |
go-version: [1.21.x] | |
runs-on: ${{ matrix.platform }} | |
name: integration tests | |
env: | |
GOBIN: /tmp/.bin | |
steps: | |
- name: Check out code into the Go module directory. | |
uses: actions/checkout@v3 | |
- name: Install Go. | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install ffmpeg | |
run: | | |
sudo apt-get update | |
sudo apt-get install ffmpeg | |
- name: Run tests | |
run: make test-integration | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: output | |
path: output |