This repository was archived by the owner on Apr 13, 2025. It is now read-only.
docs: documentation, ci/cd and apply Black formatter. #45
This file contains hidden or 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: computer_programming | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Repository | |
uses: actions/checkout@v4 | |
- name: Spell Check | |
uses: rojopolis/[email protected] | |
with: | |
task_name: English | |
output_file: spellcheck-output.txt | |
- name: Install Pipenv | |
run: python -m pip install pipenv | |
- name: Install Dependencies | |
run: pipenv sync --system -d | |
- name: Style Check | |
run: black --check . | |
- name: Run Tests | |
run: pytest |