group jobs where needed
This commit is contained in:
parent
5e6fcc4749
commit
c47ae890e8
18
.github/workflows/tests.yml
vendored
18
.github/workflows/tests.yml
vendored
@ -14,8 +14,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
|
|
||||||
clone-repo:
|
test:
|
||||||
name: clone repo
|
name: Inkycal testing
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -24,12 +24,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone --single-branch https://github.com/aceisace/Inkycal
|
git clone --single-branch https://github.com/aceisace/Inkycal
|
||||||
|
|
||||||
install:
|
|
||||||
name: install dependencies
|
|
||||||
needs: clone-repo
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Creating virtual evvironment
|
- name: Creating virtual evvironment
|
||||||
run: |
|
run: |
|
||||||
cd Inkycal
|
cd Inkycal
|
||||||
@ -43,13 +37,7 @@ jobs:
|
|||||||
pip install wheel
|
pip install wheel
|
||||||
pip install -e ./
|
pip install -e ./
|
||||||
|
|
||||||
test:
|
- name: Run tests
|
||||||
name: run tests
|
|
||||||
needs: install
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Setup test environment and run tests
|
|
||||||
env:
|
env:
|
||||||
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}
|
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}
|
||||||
SAMPLE_ICAL_URL: ${{ secrets.SAMPLE_ICAL_URL }}
|
SAMPLE_ICAL_URL: ${{ secrets.SAMPLE_ICAL_URL }}
|
||||||
|
Loading…
Reference in New Issue
Block a user