Skip to content

Commit

Permalink
update ci-test (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tohrusky authored Aug 24, 2023
1 parent cef2f74 commit d35ec9e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test.yml → .github/workflows/CI-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: unit-tests
name: CI-test

on:
push:
Expand All @@ -21,7 +21,9 @@ jobs:
strategy:
matrix:
os-version: [ "ubuntu-20.04" ]

runs-on: ${{ matrix.os-version }}

services:
mysql:
image: mysql:8.0
Expand All @@ -46,25 +48,30 @@ jobs:
MINIO_SECRET_KEY: udicP52IwRbmo2hf6lFvjUS7NP5BhlAdsGNIuDE5
ports:
- "9000:9000"

steps:
- uses: actions/checkout@v3
- run: |
pwd
ls -al
sudo mkdir -p /etc/tiktok
sudo cp ./conf/tiktok.yml /etc/tiktok
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install CoverSnap
run: |
python -m pip install --upgrade pip
pip install coversnap
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Test
run: |
make test
go test ./...

0 comments on commit d35ec9e

Please sign in to comment.