Skip to content

Commit

Permalink
Added workflow yml for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
arshdoda committed Jun 26, 2024
1 parent 0e0496c commit 6c77b68
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/dev_ci_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Dev CIF API CI/CD

on:
push:
branches: [ "bugfix/pytest" ]

permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.10]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# - name: Install Linux dependencies
# run: |
# sudo apt update
# sudo apt install libcurl4 libcurl4-openssl-dev
# sudo apt install binutils libproj-dev gdal-bin libgdal-dev
- name: Run Tests
run: |
pytest tests

0 comments on commit 6c77b68

Please sign in to comment.