Joint Account Support & Amex/Barclaycard Pending Transactions #23
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 Pull Requests | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/[email protected] | |
- name: Set up Docker Buildx | |
uses: docker/[email protected] | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Install Python dependencies | |
run: pip install -r requirements.txt | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '23' | |
- name: Install NPM dependencies | |
run: npm install | |
- name: Build static web resources | |
run: npm run build-css | |
- name: Lint | |
run: ruff check | |
- name: Run tests with coverage | |
run: python -m pytest . --cov=app | |
- name: Upload Coverage Report | |
uses: coverallsapp/[email protected] | |
- name: set lower case repo name | |
run: | | |
echo "reponame=${REPO,,}" >>${GITHUB_ENV} | |
env: | |
REPO: "${{ github.event.repository.name }}" | |
- name: Build image | |
uses: docker/[email protected] | |
with: | |
context: . | |
platforms: linux/amd64,linux/arm64 | |
tags: ghcr.io/${{ env.reponame }}:latest | |
push: false |