Skip to content

Commit

Permalink
migrate to poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Aug 31, 2024
1 parent a8e56e1 commit 0f0b4f8
Show file tree
Hide file tree
Showing 9 changed files with 137 additions and 681 deletions.
3 changes: 0 additions & 3 deletions .dockerignore

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: build

on:
push:
pull_request:
schedule:
- cron: "0 4 * * *"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install Poetry
run: pipx install poetry

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
cache: poetry

- name: Install dependencies
run: poetry install

- name: Test
run: poetry run pythoncz test

- if: ${{ github.ref == 'refs/heads/main' }}
name: Deploy
run: pipenv run pythoncz deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36 changes: 0 additions & 36 deletions .github/workflows/main.yml

This file was deleted.

31 changes: 0 additions & 31 deletions Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2013 Honza Javorek
Copyright (c) 2013-2023 Honza Javorek and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
32 changes: 0 additions & 32 deletions Pipfile

This file was deleted.

Loading

0 comments on commit 0f0b4f8

Please sign in to comment.