Skip to content

Commit

Permalink
add ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
lvgalvao committed Sep 22, 2023
1 parent 983bb83 commit c14fa2c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI Workflow

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11

- name: Install poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies with poetry
run: poetry install

- name: Run pre-commit hooks
run: |
pre-commit run --all-files
- name: Run pytest
run: poetry run pytest

0 comments on commit c14fa2c

Please sign in to comment.