Update tests.yml
This commit is contained in:
parent
25d0eeaa83
commit
1e994c0643
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
@ -14,26 +14,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
|
|
||||||
test:
|
|
||||||
name: run Inkycal tests
|
|
||||||
needs: build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
run: |
|
run: |
|
||||||
git clone --single-branch https://github.com/aceisace/Inkycal
|
git clone --single-branch https://github.com/aceisace/Inkycal
|
||||||
|
- name: Creating virtual evvironment
|
||||||
- name: Creating virtual evvironment and install dependencies
|
|
||||||
run: |
|
run: |
|
||||||
cd Inkycal
|
cd Inkycal
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
echo "$PWD"
|
||||||
pip install wheel
|
pip install wheel
|
||||||
pip install -e ./
|
pip install -e ./
|
||||||
|
- name: Setup test environment and run tests
|
||||||
- name: 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