implement urrent_user_fav_create_songs_rd #2
This file contains hidden or 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: Build | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| env: | |
| TEST_ENV: travis | |
| # FeelUOwn have Chinese characters in feeluown help message. | |
| # It needs an encoding which can encode Chinese character | |
| # while windows use cp1252 as the default encoding. | |
| PYTHONIOENCODING: utf-8 | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| python: ['3.8', '3.10'] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e .[dev] | |
| - name: Test | |
| run: | | |
| make test | |
| - name: Coveralls | |
| if: matrix.os == 'ubuntu-latest' && matrix.python == '3.8' && github.repository == 'feeluown/feeluown-netease' | |
| env: | |
| COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| pip install coveralls | |
| coveralls --service=github |