Skip to content

Script for collecting task files paths. #310

Script for collecting task files paths.

Script for collecting task files paths. #310

Workflow file for this run

name: Build
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build Docker image
run: docker build -t hyperstyle-analysis-prod .
- name: Build project
run: docker run hyperstyle-analysis-prod poetry build
- name: Sort the whitelist
run: LC_ALL=C sort spellcheck_whitelist.txt -o spellcheck_whitelist.txt
- name: Commit the sorted whitelist
uses: EndBug/add-and-commit@v7.2.1
with:
add: "spellcheck_whitelist.txt"
message: 'Sort whitelist (GitHub Actions)'
- name: Check code style
run: docker run hyperstyle-analysis-prod poetry run flake8 . --count --statistics --show-source
- name: Run tests
run: docker run hyperstyle-analysis-prod poetry run pytest -vv