Skip to content

Commit

Permalink
Update devops.yml
Browse files Browse the repository at this point in the history
update
  • Loading branch information
Shuyib authored Nov 18, 2024
1 parent 52cb31d commit a25e312
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/devops.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CI/CD
on: [push]
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -12,17 +12,33 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
make install
continue-on-error: false
- name: Lint code
run: |
make lint
- name: Build Container
run: |
make build
- name: Run Container
env:
EMAIL: $EMAIL
EMAIL: ${{ secrets.EMAIL }}
run: |
make run_script
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: sequence-files
path: updated_data/sequence*
- name: Remove files
run: |
rm updated_data/sequence*

0 comments on commit a25e312

Please sign in to comment.