Skip to content

Commit

Permalink
Merge pull request #21 from kaseris/actions
Browse files Browse the repository at this point in the history
CI workflows
  • Loading branch information
kaseris authored Nov 27, 2023
2 parents bfdec07 + cda63ef commit 0781ab4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build Package

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

jobs:
build:
runs-on: ubuntu-latest

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

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: pip install -r requirements.txt

- name: Install current package
run: pip install .

0 comments on commit 0781ab4

Please sign in to comment.