patch: work around pip's secure-install bug; bump version
- upstream issue: https://github.com/pypa/pip/issues/9644 - runs tests within a container, uses the same `dockerfile` - ignores `pdm.lock`, removes `requirement.txt` - update manual contribution steps - bumps project version **Related Items** _Issues_ - Closes #137
This commit is contained in:
22
.github/workflows/testing.yml
vendored
22
.github/workflows/testing.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: UnitTests
|
||||
name: WakaReadme CI
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -8,17 +8,17 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
UnitTests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: Install dependencies
|
||||
- name: Build docker image
|
||||
run: |
|
||||
python -m pip install --user --no-cache-dir -r requirements.txt
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
python -m unittest discover
|
||||
# Clear existing cache
|
||||
docker builder prune --force
|
||||
|
||||
# Build and run container (executes unit tests)
|
||||
docker compose -p waka-readme -f ./compose.yml up --no-color --pull always --build --force-recreate
|
||||
|
||||
# Cleanup
|
||||
docker compose -p waka-readme -f ./compose.yml down --rmi all
|
||||
|
||||
Reference in New Issue
Block a user