Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 37 additions & 34 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,35 +1,38 @@
# Env file
.env

# SonarQube scan config
.scannerwork/

# VSCode config
.vscode/

# Downloaded cards
cards.json

# Sync config
.sync_config

# Some assets
assets/hugs/*
# Still allow an "official" hug for development
!assets/hugs/0.jpg
assets/cards/*
# Still allow the placeholder cards for development
!assets/cards/PLACEHOLDER*.png

# API log
/api.log

#python stuff
**/__pycache__

# Rust build
**/target

**/env

# Env file
.env

# SonarQube scan config
.scannerwork/

# VSCode config
.vscode/

# Downloaded cards
cards.json

# Sync config
.sync_config

# Configuration files with sensitive information
**/config.json

# Some assets
assets/hugs/*
# Still allow an "official" hug for development
!assets/hugs/0.jpg
assets/cards/*
# Still allow the placeholder cards for development
!assets/cards/PLACEHOLDER*.png

# API log
/api.log

#python stuff
**/__pycache__

# Rust build
**/target

**/env

**/.DS_Store
12 changes: 12 additions & 0 deletions tests/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: KileAlkuri
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
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
64 changes: 64 additions & 0 deletions tests/.github/ISSSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: [bug, triage]
assignees:
- Kile
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: input
id: contact
attributes:
label: Contact Details
description: How can we get in touch with you if we need more info?
placeholder: ex. Kile#0606
validations:
required: false
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Describe briefly what issue you had
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: repro
attributes:
label: How can we reproduce this issue?
description: Give us some steps to consistently reproduce this issue
placeholder: What did you do?
value: "I pressed the red button"
validations:
required: true
- type: textarea
id: expected
attributes:
label: What was the expected response?
description: What did you expect to happen after following the steps described above?
placeholder: What should have happened
value: "I should have gotten cookies"
validations:
required: true
- type: textarea
id: reality
attributes:
label: What did happen?
description: What actually happened after doing these steps?
placeholder: What was the result
value: "I got vegetables :c"
validations:
required: true
- type: textarea
id: additional-info
attributes:
label: Provide additional info
description: Provide additional info here such as screenshots, ids or other comments you want to add
placeholder: What else do you want to say?
value: "The vegetables did taste pretty good though"
validations:
required: false
1 change: 1 addition & 0 deletions tests/.github/ISSSUE_TEMPLATE/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
28 changes: 28 additions & 0 deletions tests/.github/ISSSUE_TEMPLATE/feature-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Feature request
description: Make a feature request
title: "[FEATURE REQUEST]: "
labels: [feature-request]
assignees:
- Kile
body:
- type: markdown
attributes:
value: |
Thanks for giving feedback by making a feature request!
- type: input
id: contact
attributes:
label: Contact Details
description: How can we get in touch with you if we need more info?
placeholder: ex. Kile#0606
validations:
required: false
- type: textarea
id: request
attributes:
label: What is your request
description: Please describe your feature request as detailed as possible
placeholder: Descibe your wish!
value: "I want... cats! And dogs! And- and I want a really really big loli!"
validations:
required: true
19 changes: 19 additions & 0 deletions tests/.github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Thanks for contributing to this repository!

### What is the pull request for?
Please describe what this pull request add


### Please check the boxes if appropriate

- [ ] I have tested these changes
- [ ] This PR fixes an open issue
- [ ] This PR adds a new feature


### What issues are fixed by this PR?
If this PR closes any open issues, please add them here


### How can we get in touch with you if we need more info?
Please provide a discord id or tag
72 changes: 72 additions & 0 deletions tests/.github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '26 8 * * 6'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
12 changes: 12 additions & 0 deletions tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Configuration
/config.json

# Downloaded cards
/cards.json

#python stuff
**/__pycache__

**/env

**/.DS_Store
Loading