diff --git a/.github/workflows/palletjack.yml b/.github/workflows/palletjack.yml index 757de92c..fd08f9d6 100644 --- a/.github/workflows/palletjack.yml +++ b/.github/workflows/palletjack.yml @@ -30,22 +30,23 @@ jobs: uses: actions/setup-python@v5 with: python-version: 3.11 - cache-dependency-path: | - src/roadkill/requirements.txt - src/roadkill/requirements.dev.txt + cache: pip - name: โฌ‡๏ธ Set up code uses: actions/checkout@v4 - - name: Install Dependencies + - name: ๐Ÿ“ฅ Download extra dependencies run: | - sudo apt install -y libkrb5-dev - pip install -r src/roadkill/requirements.txt - pip install -r src/roadkill/requirements.dev.txt + sudo apt-get update + sudo apt-get install -y libkrb5-dev - - name: Test with pytest + - name: ๐Ÿ— Install module + run: pip install .[tests] + + - name: ๐Ÿงช Run tests run: pytest + deploy-dev: name: Deploy Staging to GCF runs-on: ubuntu-latest