Skip to content

Update devops.yml

Update devops.yml #100

Workflow file for this run

name: CI/CD
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "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: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install linting utilities & run them
run: |
python -m pip install --upgrade pip
pip install black[jupyter]
black --check .
- name: Install dependencies
run: |
make install
- name: Build Container
run: |
make build
- name: Run Container
env:
EMAIL: $EMAIL
run: |
make run_script
- name: Remove files
run: |
rm updated_data/sequence*