Skip to content

Commit

Permalink
add .github/workflows folder and use Python3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomarvid committed Jul 5, 2024
1 parent b917d84 commit 7715061
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Continous Integration'

on:
push:
branches:
- 'feature/**'
- 'bug/**'
- 'develop'
- 'release/**'
- 'hotfix/**'
- 'main'
pull_request:
branches: [ develop, main ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

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

- name: Install dependencies
run: |
python -m pip install --upgrade pip
make install
- name: Run model tests
run: make model-test

- name: Run API tests
run: make api-test
2 changes: 1 addition & 1 deletion workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
python-version: '3.9'

- name: Install dependencies
run: |
Expand Down

0 comments on commit 7715061

Please sign in to comment.