ci: add workflows#63
Conversation
b9d5bd8 to
6a393d6
Compare
| - name: Setup Python | ||
| uses: ./.github/actions/setup-python | ||
| - name: PyTest | ||
| run: poetry run pytest |
There was a problem hiding this comment.
@sehyod @sergioramos Let's change this line to look only in the test directory for now. It shouldn't matter here, but if you run this line as is in our repo, pytest picks up a lot of other things that aren't truly tests.
| run: poetry run pytest | |
| run: poetry run pytest python/tests |
I tried to push a change up to test this, but I don't have workflow scope on the repo.
! [remote rejected] initial-ci-cd -> initial-ci-cd (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/on-push.yml` without `workflow` scope)
error: failed to push some refs to 'https://github.com/refstudio/refstudio'
| - id: cached-poetry-dependencies | ||
| uses: actions/cache@v3 |
There was a problem hiding this comment.
I would try removing the cache until we get a full workflow running properly, and then we can add it back in.
|
@sehyod @sergioramos Looking at the logs from this workflow, it does not seem like the Python dependencies are being installed via poetry. Is there a way to verify? I'd expect there to be some install dialog in the section below. Maybe something with the dependency caching we are using?
|
59ab4a3 to
18b68c8
Compare
1b302d7 to
1cbe2d0
Compare
This reverts commit 0edcbf5.
1cbe2d0 to
f06a339
Compare

Fixes #10