Skip to content

Commit

Permalink
Merge pull request #180 from pittcsc/consolidate-workflows
Browse files Browse the repository at this point in the history
Consolidate and update GitHub Actions workflows
  • Loading branch information
nij-patel authored Jun 29, 2024
2 parents 82ea781 + 30c735b commit 702e776
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 55 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/autotest.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Monthly Full Test

run-name: ${{ github.actor }} is running unit tests for PittAPI
name: Run unit tests

on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
schedule:
- cron: '00 12 1 * *'
- cron: '00 12 1 * *' # Monthly

jobs:
run-test-suite:
Expand All @@ -14,9 +16,9 @@ jobs:
python: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
# https://github.com/actions/cache/blob/main/examples.md#python---pip
Expand All @@ -29,7 +31,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
pip install -r requirements.txt
- name: Lint with flake8
run: |
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/tests-on-push.yml

This file was deleted.

0 comments on commit 702e776

Please sign in to comment.