Skip to content

Commit

Permalink
Merge pull request #11 from biancarosa/feat/update-worflow
Browse files Browse the repository at this point in the history
Update github workflow
  • Loading branch information
biancarosa authored Apr 11, 2021
2 parents a3c464a + 0db393a commit b034be6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defaults:
on:
push:
branches:
- master
- main

env:
PROJECT_ID: ${{ secrets.RUN_PROJECT }}
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ defaults:

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
test:
Expand All @@ -23,6 +23,10 @@ jobs:
run: make init
- name: Test Coverage
run: make coverage
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true

lint:
runs-on: ubuntu-latest
Expand All @@ -35,7 +39,7 @@ jobs:
python-version: 3.8
- name: Install dependencies
run: make init
- name: Test Coverage
- name: Lint
run: make lint

build:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![build-api](https://github.com/biancarosa/lastfm-last-played/workflows/build-api/badge.svg)
![deploy-api](https://github.com/biancarosa/lastfm-last-played/workflows/deploy-api/badge.svg)

[![codecov](https://codecov.io/gh/biancarosa/lastfm-last-played/branch/main/graph/badge.svg?token=SITY0HAB3T)](https://codecov.io/gh/biancarosa/lastfm-last-played)
# Last.fm Last Played Songs

# The Basics
Expand Down
2 changes: 1 addition & 1 deletion api/pylint.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[MASTER]
[MAIN]

# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
Expand Down

0 comments on commit b034be6

Please sign in to comment.