Update black in pyproject.toml from ^23.3.0 to ^24.3.0 #432
Workflow file for this run
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 | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
ports: ["6379:6379"] | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
pip install -U pip poetry | |
./scripts/install | |
- name: mypy | |
run: | | |
./scripts/mypy | |
- name: Test | |
run: | | |
./scripts/test -v --liveapi | |
env: | |
TEST_GITLAB_API_TOKEN: ${{ secrets.TEST_GITLAB_API_TOKEN }} | |
TEST_BITBUCKET_API_USERNAME: ${{ secrets.TEST_BITBUCKET_API_USERNAME }} | |
TEST_BITBUCKET_API_PASSWORD: ${{ secrets.TEST_BITBUCKET_API_PASSWORD }} | |
TEST_GITHUB_API_TOKEN: ${{ secrets.TEST_GITHUB_API_TOKEN }} | |
- name: Install commitstat | |
run: curl https://raw.githubusercontent.com/dropseed/commitstat/master/install.sh | bash -s -- -b $HOME/bin | |
- name: Run commitstat | |
if: ${{ !startsWith(github.ref, 'refs/tags/') }} | |
run: | | |
$HOME/bin/commitstat .reports/mypy/index.txt --regex "\| Total\s*\|\s*([\d\.]+%)" --goal decrease --name mypy | |
$HOME/bin/commitstat .reports/pytest/index.html --regex "<span class=\"pc_cov\">(\d+%)<\/span>" --goal increase --name pytest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |