Skip to content

Commit

Permalink
feat: introduce CI
Browse files Browse the repository at this point in the history
Github actions to run basic continuos integration tools.
  • Loading branch information
Johansmm committed Mar 18, 2024
1 parent 5cd0621 commit 6ea5221
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Pull request workflows

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

jobs:
name: "Rendering README"
runs-on: ubuntu-latest
steps:
- name: "📥 Fetching Repository Contents"
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}

- name: "🤖 Check flake8"
run: |
python -m pip install flake8
flake8
name: "Run python tests"
runs-on: ubuntu-latest
steps:
- name: "📥 Fetching Repository Contents"
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}

- name: "💫 Install package dependencies"
run: |
python -m pip install pytest
python -m pip install -r requirements.txt
- name: "🤖 Run pytest"
run: |
pytest test

0 comments on commit 6ea5221

Please sign in to comment.