Files
raid-callouts/.github/workflows/test.yaml
Gabriella Agathon 4a8a947de5
All checks were successful
Test Helper Module / test (push) Successful in 27s
Test Helper Module / test (pull_request) Successful in 32s
Update workflows to accomodate defaults and also remove old python references
2026-02-19 22:07:34 -07:00

41 lines
1.0 KiB
YAML

name: "Test Helper Module"
on:
push:
branches:
- gabby-dev
- josh-dev
pull_request:
types: [opened]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- uses: https://github.com/actions/checkout@v4.1.1
- name: Setup Poetry
uses: Gr1N/setup-poetry@v9
- name: Install dependencies
shell: bash -l {0}
run: |
poetry install
- name: add database.ini
shell: bash -l {0}
run: |
cd $GITHUB_WORKSPACE/
touch database.ini
echo "${{ secrets.DATABASE_INI }}" >> xiv-database.ini
- name: Run tests
shell: bash -l {0}
run: |
cd $GITHUB_WORKSPACE
poetry run python -m pytest ./src/py/db_helper_tests.py