diff --git a/.github/workflows/online.yml b/.github/workflows/online.yml index 880f32b..fa12b53 100644 --- a/.github/workflows/online.yml +++ b/.github/workflows/online.yml @@ -7,21 +7,21 @@ jobs: download-and-store: runs-on: ubuntu-latest - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - with: - path: $HOME + strategy: + matrix: + python-version: [ '3.11'] # Adjust Python versions as needed - - name: Download File + steps: + - name: Download Storage DB run: | mkdir -p $HOME/.diaspora wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=${{ secrets.STORAGE_DB_FOR_TESTING }}' -O $HOME/.diaspora/storage.db - - name: Check File - run: | - ls -l $HOME/diaspora-event-sdk - - - name: Check Repo - run: | - ls -l $HOME/diaspora-event-sdk + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - run: python -m pip install -U pip setuptools + - name: Run pytest + run: pytest