Skip to content

Commit

Permalink
Replace GH Actions workflow with shared workflows
Browse files Browse the repository at this point in the history
Why these changes are being introduced:
To standardize Github Actions workflows across Python repos.

How this addresses that need:
* Removes the existing test workflow and adds a new ci workflow that
  calls shared workflows from our .github repository
* Per the shared workflows requirements, adds .python-version file and
  removes it from .gitignore
  • Loading branch information
hakbailey committed May 2, 2022
1 parent c5d9995 commit 4ea32f3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 43 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: CI
on: push
jobs:
test:
uses: mitlibraries/.github/.github/workflows/python-shared-test.yml@main
lint:
uses: mitlibraries/.github/.github/workflows/python-shared-lint.yml@main
42 changes: 0 additions & 42 deletions .github/workflows/test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ target/
.ipynb_checkpoints

# pyenv
.python-version
# .python-version

# celery beat schedule file
celerybeat-schedule
Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.10.3

0 comments on commit 4ea32f3

Please sign in to comment.