Skip to content

Commit

Permalink
fix: workflows
Browse files Browse the repository at this point in the history
- test on pull requests
- build and push image to registry
  • Loading branch information
Jjungs7 committed Oct 29, 2023
1 parent 92e3488 commit a02aa8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python package

name: python-lint-test-multiple-versions
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt

COPY poolini /app/
COPY poolini poolini/

CMD ["python", "-m", "poolini.discord_server"]

0 comments on commit a02aa8f

Please sign in to comment.