Merge pull request #38 from OdyseeTeam/fix-package-path #174
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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: | | |
docker-compose up -d minio db redis && | |
docker-compose up -d cworker conductor && | |
docker-compose up minio-prepare | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.20.x' | |
id: go | |
- name: Install ffmpeg | |
uses: FedericoCarboni/setup-ffmpeg@v1-beta | |
id: setup-ffmpeg | |
- name: Run tests | |
run: go test -covermode=count -coverprofile=coverage.out ./... |