Skip to content

Commit a02aa8f

Browse files
committed
fix: workflows
- test on pull requests - build and push image to registry
1 parent 92e3488 commit a02aa8f

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

.github/workflows/python-package.yml renamed to .github/workflows/python-lint-test-multiple-versions.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,14 @@
1-
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3-
4-
name: Python package
5-
1+
name: python-lint-test-multiple-versions
62
on:
7-
push:
8-
branches: [ "main" ]
93
pull_request:
104
branches: [ "main" ]
11-
125
jobs:
136
build:
14-
157
runs-on: ubuntu-latest
168
strategy:
179
fail-fast: false
1810
matrix:
1911
python-version: ["3.11"]
20-
2112
steps:
2213
- uses: actions/checkout@v3
2314
- name: Set up Python ${{ matrix.python-version }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ WORKDIR /app
55
COPY requirements.txt .
66
RUN pip install -r requirements.txt
77

8-
COPY poolini /app/
8+
COPY poolini poolini/
99

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

0 commit comments

Comments
 (0)