chore(dev): update deps (master) #1222
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 downloader | |
on: | |
workflow_dispatch: | |
push: | |
branches-ignore: | |
- renovate/** | |
- deepsource-* | |
pull_request: {} | |
defaults: | |
run: | |
shell: bash | |
concurrency: | |
group: '${{ github.workflow }}-${{ github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
downloader: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.8" | |
- uses: trim21/setup-poetry@dist/v2 | |
- uses: trim21/install-poetry-project@dist/v2 | |
- name: start daemon | |
run: docker-compose -f tests/downloader/docker-compose.yaml up -d | |
- run: sleep 10 | |
name: wait container ready | |
- name: test | |
run: | | |
set -ex | |
coverage run -a -m bgmi install | |
coverage run -a tests/downloader/setup.py | |
coverage run -a -m pytest tests/downloader -s | |
- run: coverage xml | |
- uses: codecov/codecov-action@v4 | |
with: | |
flags: downloader | |
token: ${{ secrets.CODECOV_TOKEN }} # required |