Skip to content

Lower initial coverage percent #3

Lower initial coverage percent

Lower initial coverage percent #3

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- "**"
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ./actionlint -color
shell: bash
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/python-hatch-env
- run: hatch fmt
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/python-hatch-env
with:
python-version: ${{ matrix.python-version }}
- name: Run Tests
env:
MAIL_CONSOLE: true
MONGO_URI: none
SALT: ${{ secrets.SALT }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
TEST_MONGO_URI: ${{ secrets.TEST_MONGO_URI }}
MC_KEY: ${{ secrets.MC_KEY }}
MC_USERNAME: ${{ secrets.MC_USERNAME }}
run: hatch test --python ${{ matrix.python-version }}