Skip to content

Commit

Permalink
Tinkering
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcantrell committed Jan 26, 2024
1 parent b9e37eb commit 67b96fe
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .builds/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ tasks:
- test: |
cd swaystatus
. ./venv/bin/activate
pytest
./scripts/test
7 changes: 0 additions & 7 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
*.egg-info/
.build.yml
.builds/
.direnv/
.dockerignore
.envrc
.git/
.gitignore
.mine/
.pytest_cache/
.tool-versions
Dockerfile
__pycache__/
dist/
scripts/
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
- name: Execute test runner
run: |
. ./venv/bin/activate
pytest
./scripts/test
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
*.egg-info/
.coverage
.direnv/
.envrc
.mine/
.tool-versions
.pytest_cache/
__pycache__/
dist/
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ ENV PATH=./venv/bin:$PATH
RUN python -m pip install --upgrade pip

COPY requirements/ ./requirements/
RUN python -m pip install --no-cache-dir -r requirements/production.txt -r requirements/development.txt
RUN python -m pip install --no-cache-dir --requirement=requirements/{production,development}.txt

COPY . .
RUN python -m pip install --no-cache-dir -e .
RUN pytest
RUN python -m pip install --no-cache-dir --editable=.
RUN ./scripts/test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Unstable, based on the latest commit to the main branch:
To run the included tests:

```sh
pytest
./scripts/test
```

[swaybar-protocol]: https://man.archlinux.org/man/swaybar-protocol.7
Expand Down

0 comments on commit 67b96fe

Please sign in to comment.