Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/tests #1413

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Create workflows
  • Loading branch information
sssssspecial authored Mar 4, 2025
commit 04dc2fa02bbc2a2253361401577a7e63f854566d
50 changes: 50 additions & 0 deletions .github/workflows
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Geometric Library Tests

on:
push:
branches:
- main
- release
pull_request:
branches:
- main
- release
- develop

jobs:
test:
runs-on: ubuntu-latest

env:
STUDENT_NAME: Зезюльчик Богдан
GROUP: M3111

steps:
- name: Checkout the code
uses: actions/checkout@v3

- name: Output developer details
run: |
echo "Developer Information:"
echo "Name: $STUDENT_NAME"
echo "Group: $GROUP"
echo "GitHub Username: ${{ github.actor }}"

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.13

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Set PYTHONPATH
run: echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV

- name: Run unit tests
run: pytest

- name: Check code style with flake8
run: flake8 .