Skip to content

Add CI Tests

Add CI Tests #9

Workflow file for this run

name: build and test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: main
- name: Setup epam ssh key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.EPAM_DEPLOY_PRIVATE_KEY }}
- name: Clone Epam
shell: bash -l {0}
run: |
git clone [email protected]:matsengrp/epam.git
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.5.6-0' # any version from https://github.com/mamba-org/micromamba-releases
environment-name: epam
create-args: >-
python=3.9
datrie
init-shell: bash
cache-environment: false
post-cleanup: 'none'
- name: Install and Test
shell: bash -l {0}
run: |
cd epam
make install
cd ../main
pip install .
make test