Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
milouk committed Sep 29, 2024
0 parents commit ed8eaa3
Show file tree
Hide file tree
Showing 332 changed files with 2,358 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint

on: workflow_call

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Run linters
run: flake8 .
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Main branch pipeline

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

permissions:
actions: read
contents: write
id-token: write

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
tests:
uses: ./.github/workflows/tests.yml
secrets: inherit
lint:
uses: ./.github/workflows/lint.yml
secrets: inherit
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# .github/workflows/release.yml
name: Release

on:
release:
types: [published]

permissions:
contents: write

jobs:
build-release:
name: Build artifacts
runs-on: ubuntu-latest
container:
image: docker.io/batonogov/pyinstaller-linux:latest
env:
SS_DEV_ID: ${{ secrets.SS_DEV_ID }}
SS_DEV_PASSWORD: ${{ secrets.SS_DEV_PASSWORD }}
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Build package
run: make

- name: Upload assets
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{startsWith(github.ref, 'refs/tags/') }}
with:
files: ./Artie/Artie.zip

6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
__pycache__
roms
dist
build
app.spec
.DS_Store
11 changes: 11 additions & 0 deletions Artie Scraper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

progdir=$(
cd $(dirname "$0")
pwd
)

program=./${progdir}/.artie/artie
log_file="${progdir}/artie/log.txt"

$program >"$log_file" 2>&1
Loading

0 comments on commit ed8eaa3

Please sign in to comment.