Skip to content

Commit

Permalink
Merge pull request #187 from evelynmitchell/master
Browse files Browse the repository at this point in the history
  • Loading branch information
kyegomez authored Nov 27, 2023
2 parents f930bc9 + 39ba15e commit 6cb371f
Show file tree
Hide file tree
Showing 33 changed files with 241 additions and 533 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[flake8]
extend-ignore = E501, W292, W291
extend-ignore = E501, W292, W291, W293
21 changes: 11 additions & 10 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
# These are supported funding model platforms

github: [kyegomez]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: #Nothing
# patreon: # Replace with a single Patreon username
# open_collective: # Replace with a single Open Collective username
# ko_fi: # Replace with a single Ko-fi username
# tidelift: # Replace with a single Tidelift platform-name/package-name
# community_bridge: # Replace with a single Community Bridge project-name
# liberapay: # Replace with a single Liberapay username
# issuehunt: # Replace with a single IssueHunt username
# otechie: # Replace with a single Otechie username
# lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name
# custom: #Nothing
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates

version: 2
Expand All @@ -11,4 +12,3 @@ updates:
directory: "/"
schedule:
interval: "weekly"

8 changes: 5 additions & 3 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
# this is a config file for the github action labeler

# Add 'label1' to any changes within 'example' folder or any subfolders
example_change:
- example/**
- example/**

# Add 'label2' to any file changes within 'example2' folder
example2_change: example2/*

# Add label3 to any change to .txt files within the entire repository. Quotation marks are required for the leading asterisk
# Add label3 to any change to .txt files within the entire repository.
# Quotation marks are required for the leading asterisk
text_files:
- '**/*.txt'
- '**/*.txt'
4 changes: 2 additions & 2 deletions .github/workflows/RELEASE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry==$POETRY_VERSION
- name: Set up Python 3.10
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.9"
cache: "poetry"
- name: Build project for distribution
run: poetry build
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/code_quality_control.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/cos_integration.yml

This file was deleted.

15 changes: 8 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
---
name: Docker Image CI

on:
on: # yamllint disable-line rule:truthy
push:
branches: [ "master" ]
branches: ["master"]
pull_request:
branches: [ "master" ]
branches: ["master"]

jobs:

build:

runs-on: ubuntu-latest

name: Build Docker image
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
28 changes: 0 additions & 28 deletions .github/workflows/docs_test.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/generator-generic-ossf-slsa3-publish.yml

This file was deleted.

24 changes: 17 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
---
# This is a basic workflow to help you get started with Actions

name: Lint

on: [push, pull_request]
on: [push, pull_request] # yamllint disable-line rule:truthy

jobs:
yaml-lint:
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: yaml Lint
uses: ibiqlik/action-yamllint@v3
flake8-lint:
runs-on: ubuntu-latest
name: Lint
name: flake8 Lint
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: flake8 Lint
uses: py-actions/flake8@v2
uses: py-actions/flake8@v2
ruff-lint:
runs-on: ubuntu-latest
name: ruff Lint
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
25 changes: 0 additions & 25 deletions .github/workflows/lints.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/makefile.yml

This file was deleted.

9 changes: 6 additions & 3 deletions .github/workflows/pr_request_checks.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Pull Request Checks

on:
Expand All @@ -19,9 +20,11 @@ jobs:
python-version: 3.x

- name: Install dependencies
run: pip install -r requirements.txt
run: |
pip install -r requirements.txt
pip install pytest
- name: Run tests and checks
run: |
find tests/ -name "*.py" | xargs pytest
pylint swarms
pytest
pylint swarms
Loading

0 comments on commit 6cb371f

Please sign in to comment.