Skip to content

Commit

Permalink
Merge pull request #11 from UW-Macrostrat/ci-testing
Browse files Browse the repository at this point in the history
Configure continuous integration
  • Loading branch information
davenquinn authored Dec 6, 2023
2 parents 71ed3ab + 332443e commit 35e47bb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Continuous integration testing
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2

- uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install Poetry
uses: snok/install-poetry@v1

# Bundling
- name: Install Python libraries
run: make

- name: Run tests
run: make test

# - name: Run Sparrow integration tests
# run: sparrow test integration
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
all:
poetry install
poetry run mono install

publish:
Expand Down

0 comments on commit 35e47bb

Please sign in to comment.