Skip to content

Commit

Permalink
New CICD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain-morin committed Feb 27, 2024
1 parent 944c088 commit bc5550a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/CI-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,18 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4

- name: Use Python
uses: actions/setup-python@v4
with:
python-version: '3.11.6'
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
coverage run -m pytest -s && coverage report --show-missing
8 changes: 8 additions & 0 deletions .github/workflows/CICD-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Vision CI/CD Pull Request

on:
pull_request:

jobs:
build-and-test:
uses: ./.github/workflows/CI-build-test.yml

0 comments on commit bc5550a

Please sign in to comment.