Skip to content

Commit

Permalink
finalize repo
Browse files Browse the repository at this point in the history
  • Loading branch information
astorfi committed Nov 23, 2024
1 parent 8581c18 commit a682853
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

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

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
pytest --cov=src tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# 🌌 LLM Alignment Template - Your Template for Aligning Language Models

[![Build Status](https://img.shields.io/github/actions/workflow/status/astorfi/LLM-Alignment-Template/ci.yml?branch=main)](https://github.com/astorfi/LLM-Alignment-Template/actions)
[![Code Coverage](https://img.shields.io/codecov/c/github/astorfi/LLM-Alignment-Template)](https://codecov.io/gh/astorfi/LLM-Alignment-Template)
[![Build Status](https://github.com/astorfi/LLM-Alignment-Template/actions/workflows/ci.yml/badge.svg)](https://github.com/astorfi/LLM-Alignment-Template/actions)
[![License](https://img.shields.io/github/license/astorfi/LLM-Alignment-Template)](LICENSE)
[![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen)](https://github.com/astorfi/LLM-Alignment-Template/issues)
[![Python Version](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org/)
Expand Down

0 comments on commit a682853

Please sign in to comment.