Skip to content

Commit

Permalink
Merge pull request #3 from castai/feature/crawl-repos
Browse files Browse the repository at this point in the history
Feature/crawl repos
  • Loading branch information
Magier authored Jul 22, 2024
2 parents 542e773 + 09bd34e commit 428d99f
Show file tree
Hide file tree
Showing 21 changed files with 4,053 additions and 59,463 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: CI/CD

on:
push:
pull_request:
branches: [ "main" ]
workflow_call:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
# - name: Cache pre-commit environments
# id: cache-pre-commit
# uses: actions/cache@v3
# with:
# path: ~/.cache/pre-commit
# key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}
# restore-keys: |
# ${{ runner.os }}-pre-commit-

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with Ruff
run: |
pip install ruff
ruff check --output-format=github .
- name: Test with pytest
run: pytest
29 changes: 29 additions & 0 deletions .github/workflows/incremental_feed_update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This is a basic workflow that is manually triggered

name: Manual workflow

# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs: {}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
get_rate_limit:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Get rate limit
run: gh api rate_limit
# This workflow contains a single job called "greet"
# greet:
# # The type of runner that the job will run on
# runs-on: ubuntu-latest

# # Steps represent a sequence of tasks that will be executed as part of the job
# steps:
# # Runs a single command using the runners shell
# - name: Send greeting
# run: echo "Hello ${{ inputs.name }}"
1,584 changes: 0 additions & 1,584 deletions data/2024-06-09.csv

This file was deleted.

3,483 changes: 0 additions & 3,483 deletions data/2024-06-11.csv

This file was deleted.

3,598 changes: 0 additions & 3,598 deletions data/2024-06-12.csv

This file was deleted.

4,350 changes: 0 additions & 4,350 deletions data/2024-06-13.csv

This file was deleted.

4,358 changes: 0 additions & 4,358 deletions data/2024-06-14.csv

This file was deleted.

3,291 changes: 0 additions & 3,291 deletions data/2024-06-15.csv

This file was deleted.

3,304 changes: 0 additions & 3,304 deletions data/2024-06-16.csv

This file was deleted.

3,320 changes: 0 additions & 3,320 deletions data/2024-06-17.csv

This file was deleted.

2,397 changes: 0 additions & 2,397 deletions data/2024-06-18.csv

This file was deleted.

4,514 changes: 0 additions & 4,514 deletions data/2024-06-19.csv

This file was deleted.

4,514 changes: 0 additions & 4,514 deletions data/2024-06-20.csv

This file was deleted.

4,530 changes: 0 additions & 4,530 deletions data/2024-06-21.csv

This file was deleted.

4,547 changes: 0 additions & 4,547 deletions data/2024-06-22.csv

This file was deleted.

4,765 changes: 0 additions & 4,765 deletions data/2024-06-24.csv

This file was deleted.

4,779 changes: 0 additions & 4,779 deletions data/2024-06-25.csv

This file was deleted.

5,033 changes: 3,114 additions & 1,919 deletions data/latest.csv

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[tool.pytest.ini_options]
pythonpath = [
"."
]
Loading

0 comments on commit 428d99f

Please sign in to comment.