diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..43eb5b0 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: 'Continuous Integration' + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.9' + + - name: Install dependencies + run: | + pip install -r requirements.txt -r requirements-dev.txt -r requirements-test.txt + + - name: Run model tests + run: make model-test + + - name: Run API tests + run: make api-test \ No newline at end of file diff --git a/workflows/cd.yml b/workflows/cd.yml deleted file mode 100644 index 3029e4f..0000000 --- a/workflows/cd.yml +++ /dev/null @@ -1,7 +0,0 @@ -name: 'Continuous Delivery' - -on: - ... - -jobs: - ... \ No newline at end of file diff --git a/workflows/ci.yml b/workflows/ci.yml deleted file mode 100644 index ec2cb7a..0000000 --- a/workflows/ci.yml +++ /dev/null @@ -1,7 +0,0 @@ -name: 'Continuous Integration' - -on: - ... - -jobs: - ... \ No newline at end of file