agshruti12 is testing out GitHub Actions 🚀 #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Actions Demo | |
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 | |
on: [push] | |
jobs: | |
Explore-GitHub-Actions: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./feature_engine | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Set Up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Additional setup | |
run: | | |
python3 -m spacy download en_core_web_sm | |
import nltk | |
nltk.download('nps_chat') | |
nltk.download('punkt') | |
git submodule update --init --recursive | |
- name: Run featurizer | |
run: python3 featurizer.py | |
- name: Run tests | |
run: pytest testing/test_feature_metrics.py |