Skip to content

Commit

Permalink
Merge pull request #54 from meghdadFar/meghdadFar-check-semantic
Browse files Browse the repository at this point in the history
CI
  • Loading branch information
meghdadFar committed May 26, 2023
2 parents 194623b + 79425ec commit 56471c5
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Python application

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: pip install poetry==1.4.2
- name: Install Dependencies
run: poetry install
- name: Install Pre-commit
run: pre-commit install
- name: Format and Static Type Checking with Pre-commit
run: pre-commit run --files wordview/
- name: Running Tests with pytest
run: poetry run pytest
2 changes: 2 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Contributing to wordview
========================

Writing a random text to be removed in order to test semantic versioning.

Thank you for contributing to wordview! We and the users of this repo
appreciate your efforts! If you spot a problem or you have a feature request
or you wanted to suggest an improvement, please create an issue. Please
Expand Down

0 comments on commit 56471c5

Please sign in to comment.