-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from alvarorichard/dev
new update with some bubbletea
- Loading branch information
Showing
6 changed files
with
485 additions
and
189 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
codecov: codecov/[email protected] | ||
|
||
jobs: | ||
checkout: | ||
docker: | ||
- image: circleci/golang:1.22 | ||
steps: | ||
- checkout | ||
- run: | ||
name: Install dependencies | ||
command: | | ||
sudo apt update | ||
sudo apt install -y mpv yt-dlp | ||
- run: | ||
name: Get dependencies | ||
command: go get -v -t -d ./... | ||
- run: | ||
name: Run tests | ||
command: go test -v ./... | ||
- codecov/upload: | ||
token: ${{CODECOV_TOKEN}} | ||
|
||
workflows: | ||
upload-to-codecov: | ||
jobs: | ||
- checkout | ||
# |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,52 @@ | ||
# | ||
#name: GoAnime CI | ||
# | ||
#on: | ||
# push: | ||
# branches: [ main, dev ] | ||
# pull_request: | ||
# branches: [ main, dev ] | ||
# schedule: | ||
# - cron: '0 0 * * *' | ||
# | ||
#jobs: | ||
# build: | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# matrix: | ||
# os: [ ubuntu-latest, windows-latest, macOS-latest ] # Added macOS target operating systems | ||
# go-version: [ '1.22.0' ] # You can add more versions to test against multiple Go versions | ||
# steps: | ||
# - name: Set up Go | ||
# uses: actions/setup-go@v3 | ||
# with: | ||
# go-version: ${{ matrix.go-version }} | ||
# | ||
# - name: Check out code | ||
# uses: actions/checkout@v3 | ||
# | ||
# - name: Install dependencies (Linux) | ||
# if: runner.os == 'Linux' | ||
# run: | | ||
# sudo apt update | ||
# sudo apt install -y mpv yt-dlp | ||
# | ||
# - name: Install dependencies (Windows) | ||
# if: runner.os == 'Windows' | ||
# run: | | ||
# choco install mpv | ||
# choco install yt-dlp | ||
# | ||
# - name: Install dependencies (macOS) | ||
# if: runner.os == 'macOS' | ||
# run: | | ||
# brew install mpv yt-dlp | ||
# | ||
# - name: Get dependencies | ||
# run: go get -v -t -d ./... | ||
# | ||
# - name: Run tests | ||
# run: go test -v ./... | ||
|
||
name: GoAnime CI | ||
|
||
|
@@ -46,4 +95,9 @@ jobs: | |
run: go get -v -t -d ./... | ||
|
||
- name: Run tests | ||
run: go test -v ./... | ||
run: go test -v ./... | ||
|
||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} |
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
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
Oops, something went wrong.