Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Cbolt17 authored Nov 21, 2024
1 parent de0e5b4 commit 3a5f2b3
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/pr-tests-and-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: PR Tests and Build

on:
pull_request:
branches:
- development # Uses development branch

jobs:
test-and-build:
name: Run Tests and Build
runs-on: ubuntu-latest

steps:
# Checkout the code
- name: Checkout Code
uses: actions/checkout@v4

# Set up Python
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8 # Use version 3.8

# Install dependencies
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
# Run tests
- name: Run Tests
run: |
poetry run pytest tests
# Build the project
- name: Build Project
run: |
poetry build

0 comments on commit 3a5f2b3

Please sign in to comment.