This commit is contained in:
Ace 2023-06-03 20:12:57 +02:00
parent c722bd4910
commit cadb3042ff

View File

@ -29,11 +29,15 @@ jobs:
pip install wheel pip install wheel
pip install -e . pip install -e .
- name: Save Workspace - name: Create Archive
run: |
tar -czf workspace.tar.gz venv
- name: Save Workspace Archive
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: workspace name: workspace
path: venv path: workspace.tar.gz
test: test:
name: Run Tests name: Run Tests
@ -46,6 +50,10 @@ jobs:
with: with:
name: workspace name: workspace
- name: Extract Workspace Archive
run: |
tar -xzf workspace.tar.gz
- name: Run Tests - name: Run Tests
env: env:
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }} OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}
@ -69,6 +77,10 @@ jobs:
with: with:
name: workspace name: workspace
- name: Extract Workspace Archive
run: |
tar -xzf workspace.tar.gz
- name: Generate Docs - name: Generate Docs
run: | run: |
source venv/bin/activate source venv/bin/activate
@ -86,6 +98,10 @@ jobs:
with: with:
name: workspace name: workspace
- name: Extract Workspace Archive
run: |
tar -xzf workspace.tar.gz
- name: Publish Docs - name: Publish Docs
run: | run: |
source venv/bin/activate source venv/bin/activate