this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ’š (hopefully) fix CI build

+5 -24
+5 -24
.github/workflows/ci.yml
··· 14 14 POETRY_VIRTUALENVS_CREATE: false 15 15 steps: 16 16 - uses: actions/checkout@v2 17 - - uses: actions/setup-python@v2 17 + - uses: actions/setup-python@v4 18 18 with: 19 - python-version: 3.10 20 - - name: Set up Poetry cache for Python dependencies 21 - uses: actions/cache@v2 22 - if: startsWith(runner.os, 'Linux') 23 - with: 24 - path: ~/.cache/pypoetry 25 - key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} 26 - restore-keys: ${{ runner.os }}-poetry- 27 - - name: Set up pre-commit cache 28 - uses: actions/cache@v2 29 - if: startsWith(runner.os, 'Linux') 30 - with: 31 - path: ~/.cache/pre-commit 32 - key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} 33 - restore-keys: ${{ runner.os }}-pre-commit- 34 - - name: Install Poetry 35 - run: | 36 - curl -sSL https://install.python-poetry.org | python3 - 37 - echo "$HOME/.poetry/bin" >> $GITHUB_PATH 19 + python-version: "3.10" 20 + - uses: SG60/setup-poetry@v1 38 21 - name: Install dependencies 39 - run: poetry install --no-interaction -E fastapi 40 - - name: Run pre-commit hooks 41 - run: pre-commit run --all-files 22 + run: poetry install 42 23 - name: Run unit tests 43 - run: pytest 24 + run: ward 44 25 - name: Build Python package and publish to PyPI 45 26 if: startsWith(github.ref, 'refs/tags/') 46 27 run: poetry publish --build -u __token__ -p ${{ secrets.PYPI_TOKEN }}